For some reason when I compile my Win32 app with gcc and run the program, a console window is created before the application's GUI is displayed.
If I close the console, the entire window closes.
If I close the application via GUI, the console window also closes.
In task manager, only one program is listed in the "Processes" tab. But in "Applications" there is one entry for the console, and one for the windowed app.
I don't know why this is happening, but I want it to stop. Help!