Author Topic: How to hide windows CL  (Read 4322 times)

Offline warej

  • Single posting newcomer
  • *
  • Posts: 3
How to hide windows CL
« 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 :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to hide windows CL
« Reply #1 on: April 23, 2010, 04:47:49 pm »
Project -> Properties -> Build Targets -> Type -> GUI
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline warej

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to hide windows CL
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to hide windows CL
« Reply #3 on: April 23, 2010, 06:09:48 pm »
Look at your code for calls to *Console() functions.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: How to hide windows CL
« Reply #4 on: April 23, 2010, 06:36:03 pm »
related thread in another site
http://www.allegro.cc/forums/print-thread/594895

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline warej

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to hide windows CL
« Reply #5 on: April 24, 2010, 03:27:32 pm »
Ok. I'll read it and hope it will work. Thank you guys :)