[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1087
  • Last Modified:

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.
1 Solution
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\"" )

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now