Tasm is better
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...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
*edit*
Okay, I just located the EXE, and now its "Not A Valid Win32 Application."
The project type is standard EXE.
Last edited by Someguytwo; 02-03-2008 at 07:50 PM.
Well, thanks for answering my question there.
*edit*
Okay, WHAT THE FUCK. I can't find a compiler, I just tried FASM and it won't compiler jack shit, because its an 'Invalid argument'. What the fuck do I have to do. Jesus Christ, and nothing has a fucking GUI.
Last edited by Someguytwo; 02-04-2008 at 04:57 PM.
First, it's an assembler. second use radasm by visual assembler, third make the includes relative to the drive letter. "try adding "\ASM" before the "\masm32\inc..." like I did in the first line. If this doesn't work, re-instal masm to the C:\masm32 directory instead. the documentation in masm states that it is almost necessary to install to the root directory.
Post again if you have more questions or neither of those work.
Code:include ASM\masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\debug.inc includelib \masm32\lib\masm32.lib includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\debug.lib
NASM>MASM>rest =p