Delete command line in D?

I am writing an SDL application in D (so I would like to maintain a high level of platform independence), and I'm looking for a way to stop the command line from starting by opening the release. How to do it?

+3
source share
2 answers

Call DMD with option -L-Subsystem:Windows.

Just make sure yours is mainchanged to WinMainwith the appropriate arguments.

+7
source

Source: https://habr.com/ru/post/1787146/


All Articles