Win32 Console App, Hide

Posted on 2006-04-14
Last Modified: 2012-05-05

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.
Question by:-Karamja-
    LVL 14

    Accepted 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
    LVL 2

    Author Comment

    Thanks, I added this line to my app;

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

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
    Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
    The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
    The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now