pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
I have a small utility which uses the MS C++ Redistributable library msvcr100.dll

It works successfully on Windows 7.

Now I put the program and all accompaning files (including msvcr100.dll) on an USB flash drive.

When I plugin that USB flash drive into another computer with Win10 and try to start it Win10 tells me something similar to

"MSCVR100.DLL is not design for Windows or contains errors."

It IS designed for Windows and it works on Windows 7!!!

So whats the error?

Do I have to use a different MSVCR100.DLL for Windows 10? From where do I get this?

Or does the program use another MSVCR100.dll?
I set the PATH (temporarily) to

.;<....normal PATH...>

Mind the leading dot!

So from my point of view the current local msvcr100.dll from local directory must be fetched.

Any other ideas?

Peter
 


Solution
They should be the same across Windows versions. If the utility is dynamically linked to the library it will for it in the PATH variable, so the error may be misleading in that it actually can't find the library where it should be in C:\Windows\System32. Procmon Process Monitor with a filter for your utility would show you where it's looking for the DLL and whether or not it's able to find and access it.
They should be the same across Windows versions. If the utility is dynamically linked to the library it will for it in the PATH variable, so the error may be misleading in that it actually can't find the library where it should be in C:\Windows\System32. Procmon Process Monitor with a filter for your utility would show you where it's looking for the DLL and whether or not it's able to find and access it.
 


Solution
Back
Top