<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Build and use Allegro 4.4.2 with Visual Studio 2013 32 and 64 bit [FIXED]</title>
		<link>http://www.allegro.cc/forums/view/615012</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 10 Feb 2015 21:14:05 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi everybody,</p><p>I am currently working on a game that uses allegro 4. To test the changes I made within the last 12 months on Windows, I needed to compile allegro-4.4.2 using Visual Studio 2013.</p><p>That did not work right out of the box. Maybe you have heard, maybe not, it simply does not compile at all.</p><p>So I fixed the issues and had four sets of libraries. (32/64 bit, Debug and Release)</p><p>Everything went well, until I tried to test the 64bit build of my program. Worked well, too, but only if started from the Visual Studio Debugger. When started from Explorer, the game opened a window and Windows complained that it was no longer working.</p><p>But I am stubborn and *do* - *want* - *that* - *64bit* - *version* ! <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" /></p><p>Gladly I can say that I found the issue and fixed it.</p><p><b>But</b> : How can I know that I didn&#39;t just fix it for my specific setup and needs?</p><p>Therefore I opened Patch Ticket #62 to upload the patches.</p><p>So if anybody is (or was) in the same situation, needing to build allegro-4.4.2 with Visual Studio 2010/2012/2013 in 64bit, please try out my patches.<br />Link: <a href="https://sourceforge.net/p/alleg/patches/62/">#62 Fix Allegro-4.4.2 on Win7 with Visual Studio 2013, Kit 8.0 </a></p><p>Allegro 4 is deprecated, as far as I understand it, and those patches won&#39;t make it into any new release, I bet. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Yamakuzure)</author>
		<pubDate>Wed, 21 Jan 2015 20:04:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If there was ever a reason to release an update to 4.4, critical crash bugs would be it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 21 Jan 2015 20:27:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I understand most of the patch, but one bit confuses me... what&#39;s up with the <span class="source-code">GUID_SysMouseEm2</span> and <span class="source-code">GUID_SysKeyboardEm2</span>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 22 Jan 2015 10:50:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That was my feeble attempt to use the emulation layer so Visual Studio would still be usable on break points.</p><p>Long story short:<br />Allegro grabs the system keyboard and mouse. So when the game crashes or reaches a breakpoint, the IDE pops up, but all mouse movements and keyboard events have a several seconds lag because the allegro handlers simply do not answer. Mouse buttons do not work at all. Imagine to single step like that.</p><p>Even with LowLevelHooksTimeout set to 300ms (instead of 5000ms default) it is all a crawl.</p><p>However, although this did not fix anything, it doesn&#39;t seem to make a difference whether to use GUID_SysMouse, GUID_SysMouseEm or GUID_SysMouseEm2. I simply didn&#39;t bother to change it back. (Lazy me, yes...)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Yamakuzure)</author>
		<pubDate>Fri, 23 Jan 2015 17:43:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Where can I find LowLevelHooksTimeout?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Fri, 06 Feb 2015 18:27:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>LowLevelHooksTimeout is a registry key located at <tt>HKEY_CURRENT_USER\Control Panel\Desktop</tt>. The value is in milliseconds.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erin Maus)</author>
		<pubDate>Fri, 06 Feb 2015 23:06:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>LowLevelHooksTimeout doesn&#39;t exist on my PC (Windows 7 Ultimate), either in the specified location or anywhere else in the registry. I tried adding it and setting it to a low number, but it made no difference.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Tue, 10 Feb 2015 21:14:05 +0000</pubDate>
	</item>
</rss>
