I've been greatly enjoying the book so far, but after many hours of trying I still haven't managed to execute (or debug) any version of TeapotWars that I build.
The source seems to compile fine, but it appears to crash with an error when loading LuaPlusD_1100.dll or sometime shortly afterwards. I saw that some people had issues with this file and it had been updated recently, but no matter what version of the DLL I try I still get the same issue.
I see this in the output when starting up the debugger in Visual Studio:
...
'TeapotWarsd.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'TeapotWarsd.exe': Loaded 'C:\Windows\SysWOW64\secur32.dll'
'TeapotWarsd.exe': Loaded 'C:\Mike\...\gamecode3-testBranch\Bin\LuaPlusD_1100.dll'
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[9172] TeapotWarsd.exe: Native' has exited with code -1072365566 (0xc0150002).
The error message displayed when it crashes is quite generic too: "The application failed to initialize properly (0xc0150002). Click Ok to terminate the application."
I am using Visual Studio 2008 on Windows Vista 64-bit and have tried with both the trunk source and the test branch source.
Any suggestions would be greatly appreciated. Thanks!
The source seems to compile fine, but it appears to crash with an error when loading LuaPlusD_1100.dll or sometime shortly afterwards. I saw that some people had issues with this file and it had been updated recently, but no matter what version of the DLL I try I still get the same issue.
I see this in the output when starting up the debugger in Visual Studio:
...
'TeapotWarsd.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'TeapotWarsd.exe': Loaded 'C:\Windows\SysWOW64\secur32.dll'
'TeapotWarsd.exe': Loaded 'C:\Mike\...\gamecode3-testBranch\Bin\LuaPlusD_1100.dll'
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[9172] TeapotWarsd.exe: Native' has exited with code -1072365566 (0xc0150002).
The error message displayed when it crashes is quite generic too: "The application failed to initialize properly (0xc0150002). Click Ok to terminate the application."
I am using Visual Studio 2008 on Windows Vista 64-bit and have tried with both the trunk source and the test branch source.
Any suggestions would be greatly appreciated. Thanks!