Thread overview
How make a Dlang with Windows GUI x64 without console?
May 26, 2023
Marcone
May 26, 2023
ryuukk_
May 26, 2023
Marcone
May 26, 2023
John Chapman
May 26, 2023
Marcone
May 26, 2023

How can I hide console of a window GUI on Windows x64? I need run with -m64

May 26, 2023

On Friday, 26 May 2023 at 18:05:38 UTC, Marcone wrote:

>

How can I hide console of a window GUI on Windows x64? I need run with -m64

Someone asked the exact same thing yesterday, check their post: https://forum.dlang.org/thread/azlraopxmidtcdmnrsgh@forum.dlang.org

"lflags-windows": [
    "/SUBSYSTEM:windows",
],
May 26, 2023

On Friday, 26 May 2023 at 18:05:38 UTC, Marcone wrote:

>

How can I hide console of a window GUI on Windows x64? I need run with -m64

-L/SUBSYSTEM:Windows

And if you're using 'main' as the entry point rather than 'WinMain':

-L/ENTRY:mainCRTStartup

May 26, 2023

On Friday, 26 May 2023 at 19:15:16 UTC, ryuukk_ wrote:

>

On Friday, 26 May 2023 at 18:05:38 UTC, Marcone wrote:

>

How can I hide console of a window GUI on Windows x64? I need run with -m64

Someone asked the exact same thing yesterday, check their post: https://forum.dlang.org/thread/azlraopxmidtcdmnrsgh@forum.dlang.org

"lflags-windows": [
    "/SUBSYSTEM:windows",
],

It need msvcrt120.dll but I don't know how static link msvcrt120.lib

May 26, 2023

On Friday, 26 May 2023 at 19:17:28 UTC, John Chapman wrote:

>

On Friday, 26 May 2023 at 18:05:38 UTC, Marcone wrote:

>

How can I hide console of a window GUI on Windows x64? I need run with -m64

-L/SUBSYSTEM:Windows

And if you're using 'main' as the entry point rather than 'WinMain':

-L/ENTRY:mainCRTStartup

It need msvcrt120.dll but I don't know how static link msvcrt120.lib