tags:

views:

116

answers:

2

I know how to "hide" them. I know about FreeConsole(); and then finding the handle and changing it's attributes. However with these methods the window still pops up for a second than goes away. How can I stop it from showing up completely?

+5  A: 

Have you considered creating a windows application (with windows subsystem) instead of a console application? That should hide the console window all together.

Try looking at WinMain

Filip
+2  A: 

I believe you need to be a GUI application to not have the console displayed. Check out /SUBSYSTEM:WINDOWS

Stephen Nutt