flat assembler
Message board for the users of flat assembler.
Index
> Windows > Could you help me again? |
Author |
|
vid 01 Feb 2004, 19:14
i personally dont exactly know, but try to find some tutorial on 'console'. You also have to set 'console' flag in PE header. Other way is to create window with edit box control (the standard windows' text boxes used by 3/4 programs), but this isn't "like cin or readln".
Also take a look at 'ReadConsole', 'ReadConsoleInput' and 'ReadFile' APIs |
|||
01 Feb 2004, 19:14 |
|
ronware 01 Feb 2004, 19:28
ProgrammierenMV wrote:
It depends on whether you are writing a 'console' or a 'gui' application. If you are making a console app, (format PE console) then you will need to use ReadConsole, which is a Win32 API call. Look on msdn.microsoft.com for details on how to use it. If you are making a gui app, (format PE gui) then you can use edit boxes for input, which is easy, or you can intercept the WM_CHAR messages passed to your window and act on them directly however you want (which is flexible). Note that a console app *can* put up a dialog and use edit boxes, and a gui app *can* create a console window and use ReadConsole... but usually, things are done like I indicated. |
|||
01 Feb 2004, 19:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.