什么是MSVCP100D.dll? [英] what is MSVCP100D.dll?

查看:131
本文介绍了什么是MSVCP100D.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

应用程序无法启动,因为没有找到MSVCP100D.dll,重新安装应用程序可能会帮助…

我使用 Microsoft visual c ++ 2010 Express Edition 编译我的程序,并尝试在另一台机器上运行它没有相同的编译器。

I compiled my program using Microsoft visual c++ 2010 Express Edition and tried to run it on another machine that did not have the same compiler.

当我双击它有消息说发现MSVCP100D.dll文件丢失。


  • 这是什么文件?

  • 为什么应用程序无法启动?

  • 我可以做什么来启动应用程序?

推荐答案

这是C ++运行时库dll。您已使用调试版本,在用户的计算机中找不到。在发布模式下编译程序。这将在MSVCP100.dll中添加依赖关系,这最有可能存在。

This is the C++ runtime library dll. You've used the debug version, which won't be found in a user's computer. Compile your program in release mode. This will add a dependency in MSVCP100.dll, which is most likely to be present.

无论如何,您必须确保dll将出现在用户机器中。您可以通过创建安装程序或提示用户安装Microsoft Visual C ++ 2010可再分发软件包来实现。

In any case, you must make sure that the dll will be present in user's machine. You can do that by creating an installer or by prompting the user to install the Microsoft Visual C++ 2010 Redistributable Package.

总结:


  • 在发布模式下编译您的代码

  • 创建一个安装程序或使用其他方法将所需的dll复制到用户的机器上

这篇关于什么是MSVCP100D.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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