CaesarIA

CaesarIA

View Stats:
Vercinger Jan 8, 2016 @ 8:07am
Crash on startup - strerror_s / msvcrt.dll on XP
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.


EDIT: 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."
Last edited by Vercinger; Jan 8, 2016 @ 8:11am
< >
Showing 1-6 of 6 comments
Carquinyoli Feb 20, 2016 @ 8:21am 
Same here, it fails launching every time.
dalerank  [developer] Feb 24, 2016 @ 12:41am 
Originally posted by Marta_Oriol:
Same here, it fails launching every time.

Fixed in last update
Vercinger Apr 9, 2016 @ 10:02am 
Tried playing the game again today, but the problem is still there. Silent crash when launching through Steam, and that same "Entry Point Not Found" / "The procedure entry point strerror_s could not be located in the dynamic link library msvcrt.dll." error when trying to launch the .exe manually.

Made sure to verify the game files too.
Last edited by Vercinger; Apr 9, 2016 @ 10:02am
dalerank  [developer] Apr 14, 2016 @ 9:41am 
Originally posted by Vercinger:
Tried playing the game again today, but the problem is still there. Silent crash when launching through Steam, and that same "Entry Point Not Found" / "The procedure entry point strerror_s could not be located in the dynamic link library msvcrt.dll." error when trying to launch the .exe manually.

Made sure to verify the game files too.
can we talk here http://webchat.quakenet.org/?channels=caesaria ?
Last edited by dalerank; Apr 14, 2016 @ 9:42am
Vercinger Apr 15, 2016 @ 4:21pm 
Sure
Sto May 10, 2016 @ 3:39am 
thx vercinger, the hack works very well.
< >
Showing 1-6 of 6 comments
Per page: 1530 50