User forums > Using Code::Blocks
win32gui without console
(1/1)
patolfo:
Hell there, i am trying to learn about win32gui projects and everything runs smoothly except that at run time there is always this console behind, is there any way of putting the -mwindows in some place at compiling time?
MortenMacFly:
--- Quote from: patolfo on January 31, 2008, 05:15:33 am ---is there any way of putting the -mwindows in some place at compiling time?
--- End quote ---
Sure - try the ccompiler options of your project. If you use the Win32 wizard it will create 2 targets for you: One "debug" (which has a debug console) and one "release" which does not have such a console and already uses -mwindows. Notice that C::B uses the console_runner (a C::B tool) anyways. If you don't need that, you can easily configure a tool to run the current active target's executable.
With regards, Morten.
Navigation
[0] Message Index
Go to full version