I recently worked on a small game project using VC ++ 2008. I use SDL, OpenGL, Boost and Box2D as the included libraries. It works fine on my windows 7 machine as well as on the w7 machine. No matter how it works on my second XP sp3 machine, with the updated service pack v1 ++ 2008 SP1. When it launches .exe, it gets an error:
"_Ftol2 login point cannot be located in msvcrt.dll dynamic link library"
Most of the forum topics that I read indicate that msvcrt.dll is corrupt or outdated. My version of msvcrt.dll is 7.0.7600.1385, and its 7.0.2600.5512. It is impossible to find an update for it, cannot just replace it, because it reverts to the old version upon reboot, and it does not seem to help just include my msvcrt.dll in my game folder. According to this thread on gamedev.net, OpenGL32.dll calls _ftol2. Their conclusion is to install the redic pack vC ++ 2008 package, which I already mentioned, is already installed.
Any ideas that might shed light on resolving this error?
Edit:
Using Dependency Walker, I assured that OpenGL32.dll and GLU32.dll actually cause _ftol2 in MSVCRT.dll. How to prevent this addiction?
source
share