<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Compilling allegro.h &amp; windows.h</title>
		<link>http://www.allegro.cc/forums/view/565214</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 08 Feb 2006 19:36:24 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi, </p><p>my program is using both allegro.h and windows.h, but during compilling <br />it i&#39;m getting a lot of errors like &quot;conflicts with previous <br />declaration typedef struct BITMAP BITMAP&quot;. Problem is only with BITMAP <br />type... How can i compile this?? </p><p>Greets, <br />peter_k
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Piotr K)</author>
		<pubDate>Wed, 08 Feb 2006 19:04:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Include winalleg.h instead of windows.h.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 08 Feb 2006 19:05:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>And include it after including allegro.h
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 08 Feb 2006 19:06:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks a lot!</p><p>I&#39;m using in my program something like</p><p>rgb = GetPixel(g_hdcEkran, x, y);</p><p>to get any pixel from the whole screen. But everything is ok only when my program is active. When it is inactive it is pausing here... How can i make my program to getting pixels every time? I&#39;m using Dev-C++
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Piotr K)</author>
		<pubDate>Wed, 08 Feb 2006 19:32:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>RT(F)M: <span class="source-code"><span class="k1">int</span> <a href="http://www.allegro.cc/manual/set_display_switch_mode" target="_blank"><span class="a">set_display_switch_mode</span></a><span class="k2">(</span><span class="k1">int</span> mode<span class="k2">)</span><span class="k2">;</span></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 08 Feb 2006 19:35:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code"><a href="http://www.allegro.cc/manual/set_display_switch_mode" target="_blank"><span class="a">set_display_switch_mode</span></a></span></p><p>You should try both, first SWITCH_BACKGROUND and if it doesn&#39;t work, SWITCH_BACKAMNESIA, since some operative systems support one and others, the other.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 08 Feb 2006 19:36:24 +0000</pubDate>
	</item>
</rss>
