I seriously never thought I'd be writing this post, but it appears as though the Visual C++ 2008 blues are striking again. Summary: the project compiles and runs fine on 2003, with the very latest version of the source files. With the exact same source files, the 2008 version goes down in flames when switching to a new map after a game change. This crash does not happen on 2003. Very same source files.
OK, so what's the cause? As the source files are identical (have I said that enough times yet?) and fresh builds were done each time, the cause of this problem lies in the differences between the two environments. And what is the single major difference that 2008 (and 2005 before it) has? Enforcing use of the multithreaded CRT, that's what.
Anyway, I'm going to try a few things, but I certainly won't be spending too much time on it; if it's not resolved over the next day or two I'm reverting back to 2003 (again!)
Monday, May 25, 2009
Visual C++ 2008 Blues
Posted by
mhquake
at
7:41 PM
Subscribe to:
Post Comments (Atom)
1 comments:
Concurrent Crash... Fix the execution to one core.
SetProcessAffinityMask(GetCurrentProcess(),1);
Post a Comment