Crash on startup - strerror_s / msvcrt.dll on XP

Issue #990 resolved
Former user created an issue

When I try to run the game from the Steam library, it just silently fails to launch. When I try running the .exe manually, I get an "Entry Point Not Found" error with the following text:

"The procedure entry point strerror_s could not be located in the dynamic link library msvcrt.dll."

I googled it and came upon this:

https://github.com/google/rekall/issues/106

Apparently it's an issue with Win XP that has a workaround for the coder.

Here's a quote of the solution in case the link goes down:

"This is a known error that happens on very old versions of windows. The MSVC compilers do not support such old windows version and so they do not produce a binary that will work.

The modern binaries are trying to link strerror_s (the "secure" version of strerror) but these old windows versions only have the strerror function (i.e. without the _s).

You can get them to work by opening the binary with a hex editor, search for "strerror_s" and put a NULL (0x00) byte instead of the "_". This is a hack but it works and it is way easier than getting an old version of visual studio to compile the code."

This is as of the 15 Jan 2016 update.

Comments (1)

  1. Log in to comment