Could someone point me in the direction of a Console mode example, or failing that tell me what 'includes' or 'headers' are required, just so that I can get started. I have been concentrating on GUI's up till now, and I have an application that just requires a text mode,
thanx,
Mel
thanx,
Mel
check this thread
Thanx NEMO,
I'm checking it out now, looks more complicated than a GUI:confused:
I'm checking it out now, looks more complicated than a GUI:confused:
Here is an attachment written for FAsm:
Win 32 CGI.zip
Win 32 CGI.zip
Thanx eet_1024,
but I'm still not sure which includes are needed in MASM32, I'll have to suck it and see, that is unless someone can shed a little more light on it,
Mel
but I'm still not sure which includes are needed in MASM32, I'll have to suck it and see, that is unless someone can shed a little more light on it,
Mel
no special includes are needed, just the stanardone
to send some txt to the consol just use Invoke StdOut, ADDR txt (from MASM32.LIB)
to receives some txt from consol use Invoke StdIn, ADDR buffer, SIZEOF buffer
readcloser to MASM32.lib help
and dont forget to link the exe with the /CONSOL param!!!!!
hope this will help:alright:
.386
.model flat, stdcall
option casemap :none ; case sensitive
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\m32lib\masm32.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
includelib \masm32\m32lib\masm32.lib
to send some txt to the consol just use Invoke StdOut, ADDR txt (from MASM32.LIB)
to receives some txt from consol use Invoke StdIn, ADDR buffer, SIZEOF buffer
readcloser to MASM32.lib help
and dont forget to link the exe with the /CONSOL param!!!!!
hope this will help:alright:
Thanks NEMO, that was just the information I was looking for:alright:
Now I can start coding :)
Now I can start coding :)