Author Topic: Masm32 issues  (Read 4040 times)

yungxing

• Guest
Masm32 issues
« on: October 19, 2013, 08:46:41 PM »
Ok, goodmorning everyone!

I wrote a simple "Hello world" code in asm, using the masm32 editor, I got this very funny error saying cannot find my input file, when I crosschecked, some facts in google say, its due to environment variables, what could be the main issue.  Someone pls help.

Vortex

• Member
• Posts: 2337
Re: Masm32 issues
« Reply #1 on: October 19, 2013, 09:26:41 PM »
Hi yungxing,

Welcome to the Forum. Could you post the source code here? I guess you are using qeditor. It does not need of environment variables to build an executable.

yungxing

• Guest
Re: Masm32 issues
« Reply #2 on: October 19, 2013, 09:39:11 PM »
Nay! I am using masm32 editor, I didn't see the Qeditor. Any link where I can download that?

Vortex

• Member
• Posts: 2337
Re: Masm32 issues
« Reply #3 on: October 19, 2013, 09:53:18 PM »
Hi yungxing,

Could you be more specific while addressing to the masm32 editor? What's exactly the name of your tool?

Code: [Select]
`\masm32\qeditor.exe`

dedndave

• Member
• Posts: 8827
• Still using Abacus 2.0
Re: Masm32 issues
« Reply #4 on: October 19, 2013, 10:11:12 PM »
also - be more specific about the error, if you can - tell us which file cannot be found

it sounds like an include file or lib file path problem
they should look something like this...
Code: [Select]
`    INCLUDE     \masm32\include\windows.inc    INCLUDE     \masm32\include\kernel32.inc    INCLUDELIB  \masm32\lib\kernel32.lib`
notice that the paths are root-relative
the masm32 package should be installed on the root of the drive (C:\masm32, D:\masm32, etc)
and - that drive must be the same as the one where the project files are located

if you need to, you should be able to move or copy the masm32 folder, rather than re-installing

TWell

• Member
• Posts: 748
Re: Masm32 issues
« Reply #5 on: October 20, 2013, 03:20:11 AM »
With SUBST command masm32 can be located folder like c:\users\user.
Code: [Select]
`SUBST M: c:\users\user`Installing as normal user is possible if install.exe is renamed and versioninfo removed.