Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: warej on April 23, 2010, 04:31:40 pm

Title: How to hide windows CL
Post by: warej on April 23, 2010, 04:31:40 pm
Hello. I've been using Code::Blocks for some time, but only for console applications. Now I want to write some window application and I hace a problem. When I build a basic template "Win 32 ..." I see two wiondows on the screen: one with my application, and second is like a Windows Command Line and I want to get rid of it. I want to have only one window.
Can anybody help me?

P.S.
Sorry for language mistakes :)
Title: Re: How to hide windows CL
Post by: oBFusCATed on April 23, 2010, 04:47:49 pm
Project -> Properties -> Build Targets -> Type -> GUI
Title: Re: How to hide windows CL
Post by: warej on April 23, 2010, 05:39:26 pm
Unfortunately it doesn't work as I wanted ;/
I changed this setting, but after compiling I still have two windows.
Title: Re: How to hide windows CL
Post by: oBFusCATed on April 23, 2010, 06:09:48 pm
Look at your code for calls to *Console() functions.
Title: Re: How to hide windows CL
Post by: stahta01 on April 23, 2010, 06:36:03 pm
related thread in another site
http://www.allegro.cc/forums/print-thread/594895

Tim S.
Title: Re: How to hide windows CL
Post by: warej on April 24, 2010, 03:27:32 pm
Ok. I'll read it and hope it will work. Thank you guys :)