Possible Duplicate:
Create an Application without a Window
Win32 programming hiding console window
How can I hide the console window that appears when I run my C++ program? The program doesn't output anything to stdout, and I don't need that black window to appear each time I run the program. I don't want it to be minimized I want it to be invisible. Any ideas?