News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

About Win32 Projects

Started by f2099, April 30, 2011, 01:47:52 AM

Previous topic - Next topic

f2099


   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!

Phenom

Go to Project->Properties->Build Targets->Type, and select GUI application.

f2099


   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!

f2099


   Nevermind! I still had to change the actual build target for the building process. Thanks!