Re: Removing the DOS console



Hey big guy!
Superb! That was the right way to solve this problem.

Thanks! thanks ssssoooooo much!!!

Fatman_UK wrote:
This must be a problem with the IDE and not the compiler, I hope!
What is your input on this?

Hi Jamiil,

As others have said, this is a feature of Windows. A PE binary with
subsystem "console" is different from one with subsystem "windows".

I use Code::Blocks on both Linux and Windows. I have had this problem in the
past, but happily there is a quick solution, at least in Code::Blocks
version 8.02.

1. Go to Project Management (the treeview on the left) and find the problem
project. Find the line with the Code::Blocks icon. It's probably called
"MyProject" or something. Now right click the text or the icon on that line.
2. Go to "Properties". Note: *not* "Build Options".
3. Click the second tab, "Build targets".
4. For each build target (select on the left), change the "Type" option to
"GUI application".
5. Click "ok".

Now build and run the project. You shouldn't see any console window at all.

HtH,
Adam J Richardson


--
___ _____ _____ _____ _ _____ __ _ _____ / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____| / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__ / / | | | _ / | _ { | | | | | | | | | | | |\ | | __| / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___ /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____|

ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more.


"O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]