For example, in C#, you can make a program run without the black screen appearing…so I thought: since anything you can do with .NET you can also do with Win32, maybe there’s a solution.
Any ideas?
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.
The console window appears when the program is linked with
/SUBSYSTEM:CONSOLEwhich is the default if you haven’t asked for anything else.If you want it to be a “Windows App” i.e. “make GUI contributions” including being invisible, link with
/SUBSYSTEM:WINDOWS. However, you will need aWinMainfunction rather than the usualmainfunction.