"D" in the name means debugging. This is an explicit indicator of the Visual Studio Debug build. Use the Release assembly and everything will be fine.
If the target system does not yet have C runtime, you should usually use the official installer to put it there. Some of the runtime versions that you might want to learn about are the following:
You can also develop a complete installation package that includes the redistributable DLLs (but not the debugging DLLs) your application needs and correctly process assembly assemblies (SxS) in the system assembly cache using a well-known technique like merge modules. This approach is simpler if you have a full installation of Visual Studio (and not a free version of VS Express), but the resulting installation packages may still not work on the working environment on older (for example, Win 2K or 9x) platforms.
The MSDN article Redistributing Visual C ++ Files describes which rules and how to follow them as easily as possible. This provides a starting point for learning more about many deployment issues.
If the original DLL whose functionality you are replacing does not have a link to MSVCR90.DLL, then it should be statically linked to the runtime. You should probably check out the assumptions about the intended application that will call your DLL. Mixing C runtime libraries in one process is not always easy. If the hosting application is already using MSVCR90.DLL, you also need to. This is a more serious problem than is suitable for answering a specific question, but I would advise you to research it and ask new questions as necessary.
Another approach that should be avoided by installing later DLLs is to reference MSVCRT.DLL, which is distributed in modern versions of windows as a system component. It is a runtime environment shipped with Visual C 6.0, slightly updated for critical issues, and maintains current according to the OS. It is generally not available for 64-bit collections, and it is rather difficult to fool Visual Studio into using it instead of a newer runtime.
RBerteig
source share