I would like to hide console in open source program
[login to view URL]
Compiling works with MinGW -mwindows doesn't work, It compile fine but when I run the program it doesn't show in process list. I have tried changing int main to WinMain it didn't work. I don't want to show console for even a millesecond (SW_HIDE Works) I want full hidden console.
You say SW_HIDE works. but if it has a main() you cannot hide the console. You can, however, have it go to the system tray without flashing on the screen.