I managed to compile and link Spring.exe in VS 9. When running Spring it starts, load screen with graphics and text is shown correctly, the map shows and then crash.
It seems it cant handle the AIInterface dll:s used in the pre-compiled Spring version. Infolog shows:
Code: Select all
[ 0] 0x61a40000 AIInterface
[ 0] 0x6e940000 libgcc_s_dw2-1
[ 0] 0x703d0000 dbghelp
[ 0] Stacktrace:
[ 0] (0) C:\Windows\SysWOW64\ntdll.dll(RtlInitUnicodeString+0x1f3) [0x76EEE29B]
[ 0] (1) C:\Windows\SysWOW64\ntdll.dll(RtlFreeHeap+0x7e) [0x76EEDEA3]
[ 0] (2) C:\Windows\syswow64\msvcrt.dll(free+0x39) [0x74D398CD]
[ 0] (3) C:\Users\jhg\Desktop\Spring\AI\Interfaces\Java\0.1\AIInterface.dll(initStatic+0x2628) [0x61A43A24]
[ 0] (4) C:\Users\jhg\Desktop\Spring\AI\Interfaces\Java\0.1\AIInterface.dll(initStatic+0x375) [0x61A41771]
[ 0] (5) C:\Users\jhg\Desktop\Spring\spring.exe(skirmishAiCallback_Game_getSpeedFactor+0x1ff48) [0x00459C4E]
[ 0] (6) C:\Windows\SysWOW64\ntdll.dll(LdrGetDllHandleEx+0x441) [0x76EEFFF9]
[ 0] (7) C:\Windows\SysWOW64\ntdll.dll(LdrGetProcedureAddressEx+0x11f) [0x76EF018A]
[ 0] (8) C:\Windows\SysWOW64\ntdll.dll(LdrGetProcedureAddressEx+0x197) [0x76EF0202]
[ 0] (9) C:\Windows\syswow64\KERNELBASE.dll(GetProcAddress+0x44) [0x763F11C4]
[ 0] (10) C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll(free+0xec) [0x66C838DA]
[ 0] (11) C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCP90.dll(std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy+0x48) [0x65515E2C]
[ 0] (12) C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCP90.dll(std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> >+0x9) [0x65515EAD]
Any idea how to avoid it without recompiling the AIInterface dll:s (which seems to be quite tricky, havent been able to do it yet).
Cheers,
Johan