6

如何安装 MSVCR90D.DLL?我有一个小型测试 DLL(调试模式),我创建了一个安装项目。在我的安装项目中,我包含了 vc90_debugcrt_x86.msm 等的合并模块和策略。当我在我的 VM 上安装 DLL 时,依赖项walker 仍然报告找不到 MSVCR90D.DLL?

提前致谢。

4

4 回答 4

2

See here.

Preparing a Test Machine To Run a Debug Executable

Microsoft does not officially support deploying debug runtimes outside of dev/test environments but you can make it work if you need to. Sounds like this is a vanilla test environment installation, though.

于 2010-12-08T17:06:22.837 回答
2

只需将 MSVCR90D.DLL 文件复制到与您自己的 dll 相同的目录中即可。然后你的 dll 和依赖 walker 都会找到 MSVCR90D.DLL 文件。

您可能需要一些其他文件,例如 msvcp90d.dll 或 msvcm90d.dll,但依赖项步行者知道您是否需要它们来满足您的目的。

于 2013-08-28T15:33:17.610 回答
1

MSVCR90D.DLL 是 Visual Studio 运行时库的调试版本。通常,如果您正在部署该代码,您将在发布模式下构建它,并提供/安装 Visual Studio Runtime Redistributable。据我所知,获取调试 dll 的唯一方法是通过 Visual Studio 安装。

于 2010-12-08T17:01:43.743 回答
0

将 Python 脚本转换为可执行的 Windows 程序的 py2exe 实用程序在这里似乎也有类似的问题。也许“捆绑 C 运行时 DLL”部分可以帮助您找到解决方案。

于 2011-10-25T09:24:44.930 回答