-L/SUBSYSTEM:windows Error when using -m64

Marcone marcone at email.com
Tue Aug 10 19:03:06 UTC 2021


On Tuesday, 10 August 2021 at 19:01:42 UTC, Adam D Ruppe wrote:
> On Tuesday, 10 August 2021 at 18:59:33 UTC, Marcone wrote:
>> Using -Lgdi32.lib -Luser32.lib? Same error.
>
> The part after that:
>
> If you want the Windows subsystem too, use -L/subsystem:windows 
> -L/entry:mainCRTStartup.
>
>
> Pass BOTH -L/subsystem:windows AND -L/entry:mainCRTStartup

Good! work very well! Thank you!


More information about the Digitalmars-d-learn mailing list