I’m writing an SDL app in D (therefore I’d like to maintain a high amount of platform-independence), and I’m looking for a way to stop the command prompt opening up release builds. How does one do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Call DMD with the option
-L-Subsystem:Windows.Just make sure that your
maingets changed toWinMain, with the appropriate arguments.