I have a question about C++ GUI's, with Code::Blocks as my IDE. Whenever I make a basic GUI with the Win32 API, it always creates a console _and_ the GUI (as shown in the picture attached). I was wondering how to only create the GUI, or at least make the console not visible.
Normally this wouldn't be a problem, but this time, when you click the button in my GUI, it starts another console app I made. The thing is when it starts this console app, it starts it _in_ the console that is originally made with the GUI. This may seem fine, but it makes the GUI not respond, thus, a problem. I was thinking that maybe if I create another process, and have it open my console app that it wouldn't freak out, but before I went through such an undertaking, I just wanted to make sure there wasn't some blatantly obvious solution.