MSVCR100D.DLL丢失了,但它并没有丢失 [英] MSVCR100D.DLL missing, but it's not missing

查看:291
本文介绍了MSVCR100D.DLL丢失了,但它并没有丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



VS2010 IDE在执行Debug版本时说MSVCR100D.dll丢失,但DLL文件是在VS2010安装目录中。



有没有办法将它指向文件?


我确实从另一个卷移动了解决方案,并重新安装了VS2010和可再发行组件。发布版本和调试版本之间的版本是否不匹配?



此外,系统界面语言是否有问题?




控制面板显示发布运行时为10.0.40219,调试运行时的详细信息为10.0 .40219.1

解决方案

您好,


感谢您在此发帖。


默认情况下,在/ MDd中选择运行时库时,将使用MSVCR100D.DLL。您可以在项目设置中检查您为运行时库选择的选项 - > c / c ++ - >代码生成并选择多线程DLL(/ MD)或多线程
(/ MT)选项,然后清理和重建。


如果您选择/ MD,您的项目在构建后将会很小。但是你必须在你的计算机上有dll文件,因为dll将动态链接。或者如果您选择/ MT,项目在构建之后会有点大,因为其中的dll将是静态的


以下是CRT的介绍以及它们之间的区别这些选项。


https://msdn.microsoft.com/ en-us / library / abx4dbyh.aspx

https://msdn.microsoft.com/en-us/library/aa278396(v = vs.60).aspx


5月


Hi.

The VS2010 IDE says MSVCR100D.dll is missing when executing a Debug build, but the DLL file is in the VS2010 installation directory.

Is there a way to point it to the file?

I did move the solution over from another volume, and reinstalled the VS2010, and the redistributables. Could it be a version mismatch between release and debug versions?

Also, could the system interface language be a problem?

The control panel says the release runtime is 10.0.40219, and the details for the debug runtime says its 10.0.40219.1

解决方案

Hi,

Thanks for posting here.

The MSVCR100D.DLL is used when you choose your runtime library at /MDd as default. You can check which option do you choose for runtime library in your project setting->c/c++->Code Generation and choose the Multi-threaded DLL (/MD) or Multi-threaded (/MT) option, then clean and rebuild.

If you choose /MD, your project will be small after building. But you must have the dll file in your computer, becasue the dll will be dynamically linked. Or if you choose /MT, the project will be a bit large after building because the dll will be static within it.

Here is the introduction of CRT and the differences between those options.

https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx
https://msdn.microsoft.com/en-us/library/aa278396(v=vs.60).aspx

May


这篇关于MSVCR100D.DLL丢失了,但它并没有丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆