Problem with SDL 1.2 compiled as 64bit with VS2010SP1

Hi,

I have build SDL 1.2.{13,14} in Visual Studio 2010 SP1 for use with
Dosbox as 64bit.

However although it builds, it causes serious problems which I have
described in detail here:

http://vogons.zetafleet.com/viewtopic.php?t=29920

The latest DirectX SDK is also installed.

-Tobias