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?
Call DMD with option -L-Subsystem:Windows.
-L-Subsystem:Windows
Just make sure yours is mainchanged to WinMainwith the appropriate arguments.
main
WinMain
I did just that https://bitbucket.org/ponce/vibrant/src/032e61352ad9/trunk/vibrant/vibrant.d (public domain)
Source: https://habr.com/ru/post/1787146/More articles:Thread synchronization for multiple readers / single writers in Clojure - multithreadingAn algorithm for the optimal "intersection" of two results? - algorithmNOT IN with HQL and Grails - javaUISplitViewController - is a modal view controller over a detailed view controller in a landscape task - ipadMySQL: inconsistency in automatically increasing id - databaseone word recaptcha? - captchaLooking for an in-memory database with the same SQL syntax as Oracle - oracleRemote IP Address Information - c #ASP.NET webforms listbox - interstitial wiring - asp.netCreate a secret of 12 characters - c #All Articles