cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
DOS Window problem
DOS Window problem
Feb 28, 2013 at 2:17pm UTC
Flashbond
(28)
Hi Guys!
I compiled my first .exe and I am very happy :) Now my problem is, it is a Windows Form applicaiton but the compiled .exe is popping up with a DOS console. How may I make it disappeared?
Thanks a lot!
Last edited on
Feb 28, 2013 at 2:43pm UTC
Feb 28, 2013 at 2:52pm UTC
Flashbond
(28)
I did this by adding the following to Properties -> Linker -> Command line:
/ENTRY:"mainCRTStartup"
This way you get rid of the console window.
Feb 28, 2013 at 3:15pm UTC
Chervil
(7320)
This may help:
FreeConsole();
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683150%28v=vs.85%29.aspx
Topic archived. No new replies allowed.