I decided to create applications direct with Notepad + GCC Compiler (and the entire Mingw environment).
Well I started by creating a simple Win32 application (a simple window). The file is only 4 Kb (which, with an IDE like C:B or VS is about 8 kb.
Anyway, my problem is that the window is displayed but also a window console. Well, I don’t want the console to appear but only the GUI window. I think this is achieved by creating manifest files or something like that, of which I don’t know much about, as this is the first time I am trying this. How do I tell GCC that it shouldn’t create a console window – just a GUI window?
Thanks!
You need to create an executable that targets the GUI subsystem rather than the console subsystem. In the MS tools the normal way to indicate that is to use a different form of main function:
I believe that mingw supports the same convention.