Application with WinMain does not start
Minas Mina via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 5 09:10:27 PST 2016
On Saturday, 5 March 2016 at 14:08:28 UTC, Mike Parker wrote:
> 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
> /SUBSYSTEM:WINDOWS by default.
Thanks. I removed the WinMain and it worked.
More information about the Digitalmars-d-learn
mailing list