Author Topic: win32gui without console  (Read 3136 times)

patolfo

  • Guest
win32gui without console
« on: January 31, 2008, 05:15:33 am »
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: win32gui without console
« Reply #1 on: January 31, 2008, 08:34:22 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ