flat assembler
Message board for the users of flat assembler.

Index > DOS > Win32 Console Programming

Author
Thread Post new topic Reply to topic
estrang



Joined: 02 Nov 2005
Posts: 38
estrang 03 Nov 2005, 21:07
Whats the diffrence between Dos Apps programming and Win32 console programming?? How can i create an win32 console Hello World program with FASM?? Any links?? or Samples??
Post 03 Nov 2005, 21:07
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 03 Nov 2005, 22:16
just like normal programming, but you have to create console (or use parent's). Look at WriteConsole, WriteFile, ReadConsole, ReadFile etc. You can use predefined console handles
STD_INPUT_HANDLE = 0FFFFFFF6h
STD_OUTPUT_HANDLE = 0FFFFFFF5h
STD_ERROR_HANDLE = 0FFFFFFF4h

You can create console yourself (obviously there can be more console at once under win32), but it's best to leave it on system, by specifying

format PE console
Post 03 Nov 2005, 22:16
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.