How do you write to the console window from within Masm v6? Just wondering.
Posted on 2001-04-24 15:41:00 by BoomBox
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.
Posted on 2001-04-24 16:47:00 by Ernie
Aha. Thank you.
Posted on 2001-04-26 18:35:00 by BoomBox
You have to use the /SUBSYSTEM:CONSOLE option in the Linker: link /SUBSYSTEM:CONSOLE /LIBPATH:c:\masm32\lib myProggy.obj
Posted on 2001-05-02 09:11:00 by Manolo
Or call AllocConsole... This could be useful as it means that using the console for debug does not require a separate build command!

.CONST Debug equ 1

IF Debug
  invoke AllocConsole
ENDIF
Note the lack of . in front of the IF denotes conditional assembly rather than conditional jumps.... Mirno
Posted on 2001-05-02 09:38:00 by Mirno