I Need Help Setting Up The Compiler =F
I have everything set up, and I used the following test code to assure it works :
It compiles, but it doesn't execute.. I'm using 'WinAsm Studios" with masm32 dirs. Yes I configured it to use the masm32 dirs,bin,includes,etc..
*edit*
Okay, I just located the EXE, and now its "Not A Valid Win32 Application."
The project type is standard EXE.
.386
.model flat,stdcall
option casemap:none
include C:\ASM\masm32\include\windows.incⓘ
include C:\ASM\masm32\include\kernel32.incⓘ
includelib C:\ASM\masm32\lib\kernel32.lib
include C:\ASM\masm32\include\user32.incⓘ
includelib C:\ASM\masm32\lib\user32.lib
.data
MsgBoxCaption db "Test",0
MsgBoxText db "Test",0
.code
start:
invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
invoke ExitProcess, NULL
end start
.model flat,stdcall
option casemap:none
include C:\ASM\masm32\include\windows.incⓘ
include C:\ASM\masm32\include\kernel32.incⓘ
includelib C:\ASM\masm32\lib\kernel32.lib
include C:\ASM\masm32\include\user32.incⓘ
includelib C:\ASM\masm32\lib\user32.lib
.data
MsgBoxCaption db "Test",0
MsgBoxText db "Test",0
.code
start:
invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
invoke ExitProcess, NULL
end start
*edit*
Okay, I just located the EXE, and now its "Not A Valid Win32 Application."
The project type is standard EXE.
