Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide a Window in a Win32 Console Application?

Status
Not open for further replies.

C4ME

IS-IT--Management
Apr 25, 2001
1
US
Is there a Visual C++ function or command that can be used in a Win32 Console application to hide the main window from being displayed while the application runs?
 
I think ShellExecute or CreateProcess should work for you.
 
Care to explain? This is a simple console application we're talking about. I have the same question. I don't want to bring in a bunch of windows stuff. None, ideally. I'd just like an application with no console window.
 
Try writing a service. But, there would be a problem if your application is accessing shared drives.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top