flat assembler
Message board for the users of flat assembler.
Index
> Windows > Compilation format: console vs GUI vs DLL? |
Author |
|
revolution 02 Sep 2018, 21:15
Console format will open a console. STDIN, STDOUT and STDERR are directed to within the console window.
GUI format has no console attached. You can compare FASM.exe and FASMW.exe to see the difference. Last edited by revolution on 03 Sep 2018, 23:30; edited 2 times in total |
|||
02 Sep 2018, 21:15 |
|
Furs 03 Sep 2018, 14:40
Mino wrote: Both the PE and DLL format, I understand, but why have the choice between CONSOLE and GUI? https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format#windows-subsystem The PE format has headers and such like most file formats, and the "subsystem" is one of the fields in there. You can also create your own console Window with a "GUI" if you want (in code), this is just a shortcut... |
|||
03 Sep 2018, 14:40 |
|
Mino 03 Sep 2018, 16:43
Thanks for your answers
So, if I understand correctly, the format defines what "features" the program will use on the OS. Furs wrote:
This means that you can create a GUI without manually importing libraries with the PE GUI format? How do we do that? |
|||
03 Sep 2018, 16:43 |
|
revolution 03 Sep 2018, 21:28
It doesn't change anything do to do with libraries or imports.
All it does is tell the OS to open a console window, or not to open a console window. Nothing else. |
|||
03 Sep 2018, 21:28 |
|
Mino 03 Sep 2018, 23:23
It's clearer, thanks
|
|||
03 Sep 2018, 23:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.