Windows 7 x64. Prevent appearing of console with GUI application

Mike Parker aldacron at gmail.com
Tue Jul 24 09:05:42 UTC 2018


On Tuesday, 24 July 2018 at 08:48:54 UTC, Mike Franklin wrote:

>
> Here's my test

>
> extern (Windows)
> int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR 
> lpCmdLine, int iCmdShow)


When using WinMain, subsystem:windows is the default. The OP 
wants to use main as the entry point, where the console subsystem 
is the default.


More information about the Digitalmars-d-learn mailing list