Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: f2099 on April 30, 2011, 01:47:52 am
-
Hi everyone! I created a Win32 project in CodeBlocks, and compiled the original main.cpp file only. When I open the .exe file (in the bin folder of the project folder), the program executes normally, but why does the console window open in the background? Is there any way of preventing this from happening? Thanks in advance!
-
Go to Project->Properties->Build Targets->Type, and select GUI application.
-
I appreciate your help! I went to Project > Properties > Build Targets > Selected the Release option from the list (Debug, Release), and its option is set as GUI application. I pressed OK and recompiled the project. However, in both the bin and obj folders only the Debug folder was created. What am I doing wrong? Thanks again!
-
Nevermind! I still had to change the actual build target for the building process. Thanks!