How do you write to the console window from within Masm v6? Just wondering.
Check the masm32/example3 folder for some apps (I think it's 3...) there are a few short examples. In general, I usually just use the StdOut method of the MASM32 library.
Aha. Thank you.
You have to use the /SUBSYSTEM:CONSOLE option in the Linker: link /SUBSYSTEM:CONSOLE /LIBPATH:c:\masm32\lib myProggy.obj
Or call AllocConsole... This could be useful as it means that using the console for debug does not require a separate build command!
Note the lack of . in front of the IF denotes conditional assembly rather than conditional jumps.... Mirno
.CONST Debug equ 1 IF Debug invoke AllocConsole ENDIF