<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>How to hide the console windows ?</title>
		<link>http://www.allegro.cc/forums/view/607888</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 22 Jul 2011 03:44:01 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>its possible ?<br />i had tried ShowWindow(GetConsoleWindow(),SW_HIDE);<br />but dont work D:
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chaos Maker)</author>
		<pubDate>Thu, 21 Jul 2011 20:57:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try using the forum&#39;s search feature. This question has been answered many, many times.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Thu, 21 Jul 2011 21:01:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It depends on which IDE/compiler you use.</p><p><a href="http://www.allegro.cc/forums/search/bc09a282b787770da1a84f9422efcfed">http://www.allegro.cc/forums/search/bc09a282b787770da1a84f9422efcfed</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 21 Jul 2011 21:37:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>im using allegro5 and Microsoft Visual C++ 2010
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chaos Maker)</author>
		<pubDate>Thu, 21 Jul 2011 21:55:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Use /SUBSYSTEM:WINDOWS, not /SUBSYSTEM:CONSOLE.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 21 Jul 2011 21:56:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><s>In Code::Blocks and Dev-C++ you can just set the application to a GUI App. and the console window will not appear. If you were just trying to make a console that does something that you want to stay hidden, you could do something like this.</s>
</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number"> 1</span>HWND hidden_window<span class="k2">;</span>
<span class="number"> 2</span>AllocConsole<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 3</span>hidden_window<span class="k3">=</span>FindWindowA<span class="k2">(</span><span class="s">"ConsoleWindowClass"</span>,NULL<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 4</span>ShowWindow<span class="k2">(</span>hidden_window,NULL<span class="k2">)</span><span class="k2">;</span>
</div></div><p>

EDIT:: Visual C++. ew.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (North~)</author>
		<pubDate>Thu, 21 Jul 2011 21:57:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There&#39;s also a check box for it somewhere in VC++&#39;s preferences IINM.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Thu, 21 Jul 2011 22:07:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In Project properties:<br />Configuration properties -&gt; Linker -&gt; System<br />Change Subsystem to Windows.</p><p><i>Names may not be 100% exact since I have MSVC in Spanish and I&#39;m translating to English myself</i>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Oscar Giner)</author>
		<pubDate>Thu, 21 Jul 2011 23:28:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607888/925422#target">Oscar Giner</a> said:</div><div class="quote"><p>Configuration properties -&gt; Linker -&gt; System</p></div></div><p>That&#39;s correct.  More thoroughly:</p><p>Project -&gt; [project name] Properties -&gt; Configuration properties -&gt; Linker -&gt; System -&gt; SubSystem
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 22 Jul 2011 00:51:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>THANK YOU VERY MUCH!<br /><img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /><br />the solution<br />Windows (/SUBSYSTEM:WINDOWS)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chaos Maker)</author>
		<pubDate>Fri, 22 Jul 2011 03:44:01 +0000</pubDate>
	</item>
</rss>
