• C

Win32 Console App, Hide


Im quite new to C/C++

I have made a Win32 Console App, that copies some files for me,
but as it does not need any user input, I was thinking is there a way so it does not
show the blank cmd window when I run my applications.

Easy points.
Who is Participating?
A console app always requires a console window (at least when it starts). If you do not want that, you need to create a normal application.

here are some more hints: http:Q_21674583.html, http:Q_20646770.html, http:Q_21057814.html
-Karamja-Author Commented:
Thanks, I added this line to my app;

#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.