_Ftol2 login point cannot be located in msvcrt.dll dynamic link library

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?

+3
source share
3 answers

I should not have included opengl32.dll from my system in my game. The opengl32.dll file on XP is an older version and is also correctly associated with MSVCRT.dll on XP. When I turned on windows 7 opengl32.dll, it just did not match the dll xp. Removing opengl32.dll and glu32.dll from my game folder solved the problem, and the game works great.

+1
source

"strncpy_s could not be located in the dynamic link library msvcrt.dll" . VS 2005, MAPI32.dll. , WIN 7 64 XP 32 ( MAPI32.dll WIN 7). , , .

+3

, MSVCRT.DLL. - Windows. MSVCRT90.DLL.

+1

Source: https://habr.com/ru/post/1724879/


All Articles