如何安装 MSVCR90D.DLL
如何安装 MSVCR90D.DLL?我有一个小的测试 DLL(调试模式),我创建了一个安装项目。在我的设置项目中,我包含了合并模块和vc90_debugcrt_x86.msm 等的策略。当我在 VM 上安装 DLL 时,dependency walker 仍然报告找不到 MSVCR90D.DLL?
提前致谢。
How do I install MSVCR90D.DLL? I have a small test DLL(debug mode) that I created a setup project. In my setup project, I included merge modules & policy for vc90_debugcrt_x86.msm, etc. When I install the DLL on my VM, dependency walker still reports that MSVCR90D.DLL cannot be found?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
请参阅此处。
Microsoft 并不正式支持在开发/测试环境之外部署调试运行时,但如果需要,您可以使其工作。不过,听起来这是一个普通的测试环境安装。
See here.
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.
只需将 MSVCR90D.DLL 文件复制到与您自己的 dll 相同的目录中即可。然后您的 dll 和依赖项遍历器都会找到 MSVCR90D.DLL 文件。
您可能需要一些其他文件,例如 msvcp90d.dll 或 msvcm90d.dll,但 dependency walker 知道您是否需要它们来实现您的目的。
Just copy the MSVCR90D.DLL file into the same directory as your own dll. Then both your dll and dependency walker will find the MSVCR90D.DLL file.
You may need a couple of other files like msvcp90d.dll or msvcm90d.dll but dependency walker knows if you need them for your purposes.
MSVCR90D.DLL 是 Visual Studio 运行时库的调试版本。通常,如果您要部署该代码,您将在发布模式下构建它,并提供/安装 Visual Studio 运行时可再发行组件。据我所知,获取调试 dll 的唯一方法是通过 Visual Studio 安装。
MSVCR90D.DLL is the debug version of the Visual Studio Runtime Libraries. Normally, if you're deploying that code, you would build it in Release mode and also provide/install the Visual Studio Runtime Redistributable. As far as I know, the only way to obtain the debug dlls are through a Visual Studio install.
将 Python 脚本转换为可执行 Windows 程序的 py2exe 实用程序似乎也有类似的问题此处。也许“捆绑 C 运行时 DLL”部分可以帮助您找到解决方案。
The py2exe utility that converts Python scripts into executable Windows programs seems to have a similar problem here. Maybe the section "Bundling the C runtime DLL" helps you to find the solution.