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

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

Win32 Console App, Hide

Hello,

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.
0
-Karamja-
Asked:
-Karamja-
1 Solution
 
cwwkieCommented:
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
0
 
-Karamja-Author Commented:
Thanks, I added this line to my app;

#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
0

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