www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How make a Dlang with Windows GUI x64 without console?

reply Marcone <marcone email.com> writes:
How can I hide console of a window GUI on Windows x64? I need run 
with -m64
May 26 2023
next sibling parent reply ryuukk_ <ryuukk.dev gmail.com> writes:
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
parent Marcone <marcone email.com> writes:
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
prev sibling parent reply John Chapman <johnch_atms hotmail.com> writes:
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
parent Marcone <marcone email.com> writes:
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
May 26 2023