News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

win32gui without console

Started by patolfo, January 31, 2008, 05:15:33 AM

Previous topic - Next topic

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?
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]