On Saturday, 5 March 2016 at 14:01:11 UTC, Mike Parker wrote:
If you use WinMain, you do not need that flag.
Actually, I need to amend that. It isn't needed with WinMain when
using the Microsoft linker, but it is when using OPTLINK. The MS
linker recognizes WinMain and treats it as
On Saturday, 5 March 2016 at 13:16:19 UTC, Minas Mina wrote:
I added a WinMain function to my application because I don't
want it to open a console when running on windows.
But now it doesn't even start...
extern (Windows)
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,