问题
how do i install msvcr71.dll on windows server 2003, which is needed by my software. I really don't want to copy this dll to system32 folder, because it may break this target system.
回答1:
Just copy it into the folder where all the executables of your program will be. It's standard practice. Searching for libraries starts from the directory where the requesting executable is located, so unless LoadLibraryEx() with LOAD_WITH_ALTERED_SEARCH_PATH is used this will work allright.
回答2:
Don't copy the .dll to the System32 folder. And if it's not already in the application's folder, then don't copy it there either! (Doing so would prevent you from getting security updates, and patches from Microsoft). Instead, just install the Microsoft Visual C++ 2003 Redistributable (which is included in the .NET 1.1 Runtime).
来源:https://stackoverflow.com/questions/650982/how-to-install-msvcr71-dll-correctly