Click here to Skip to main content
Sign Up to vote bad
good
See more: VC6
Hi All
I am writing a application in VC 6
in Win32 console application format.
I want to hide the console window as soon as .exe starts without stopping the exe . this exe do not require interaction from the user.
 
I want to run the application on a PC in my absence, without obvious knowledge of a PC user, that is why i want the console window to be closed immediately somehow.
If someone is closing it from task manager let it be.
 

if there is a solution i shall be following these steps

1. start cmd
2. execute the .exe, ( it should hide the console window immidiately)
3. i will stop it from task manager if required.



Thanks
kanade
Posted 18 Nov '11 - 3:27


1 solution

Do not create it as a console app then. Create a windows-app but do not create any visible windows. You may want a hidden window if you need to handle messages.
  Permalink  
Comments
SAKryukov - 18 Nov '11 - 11:21
Right, a 5. --SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 435
1 OriginalGriff 330
2 Arun Vasu 293
3 CPallini 213
4 Zoltán Zörgő 194
0 Sergey Alexandrovich Kryukov 10,105
1 OriginalGriff 7,739
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 2,999


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 18 Nov 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid