User forums > Using Code::Blocks

Why a Dos window appeares when i run my win32 Gui program?

<< < (2/2)

facat:

--- Quote from: oBFusCATed on February 11, 2010, 09:38:43 am ---Project -> properties -> second tab -> there you should see "Console", change it to GUI

--- End quote ---
i changed it to GUI, but the Dos windows still appears.

MortenMacFly:

--- Quote from: facat on February 11, 2010, 12:47:32 pm ---i changed it to GUI, but the Dos windows still appears.

--- End quote ---
in that case either really part of your code (which you might want to post for inspection) or you are not using the "play" symbol for running the project or run a a different (wrong) target or... hard to tell with such less information. It's best if you strip your project to a minimal example and post it here, including project file and code file(s).

facat:
ok. i solved the problem. i just changed it to GUI for both Debug and Release  .

Navigation

[0] Message Index

[*] Previous page

Go to full version