On Sunday, 9 February 2020 at 14:08:02 UTC, Daniel Kozak wrote:
"lflags-windows": ["/SUBSYSTEM:WINDOWS", "/ENTRY:mainCRTStartup"],

[snip]
Is there a way to avoid the console Window, at least for release builds?


Thank you! Your solution I guess is for dub.json.

For those using dub.sdl the necessary line is:

lflags "/SUBSYSTEM:WINDOWS" "/ENTRY:mainCRTStartup" platform="windows"

Reply via email to