缺少msvcr100.dll [英] Missing msvcr100.dll

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

问题描述

我在Visual Studio 2010在Windows 7 64位做了一个节目。
当我尝试在Windows XP上运行32位我得到了msvcr100.dll丢失的消息。当我尝试从Win7的这个文件复制到WINXP我得到了msvcr100.dll是错误的信息。
如何设置建设VS所以msvcr100.dll就没有必要?

I made a program in Visual Studio 2010 on Windows 7 64-bit. When I try to run it on Windows XP 32-bit I got message that msvcr100.dll is missing. When I try to copy that file from Win7 to WInXP I got message that msvcr100.dll is wrong. How to set building in VS so msvcr100.dll would not be necessary?

推荐答案

首先,你需要确保你正在建设一个32位可执行文件 - 64位的将不能在32位Windows上运行

First you need to make sure you're building a 32 bit executable - 64 bit ones won't run on 32 bit Windows.

此后,您可以...


  • 船舶<一个href=\"http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84\">the 32位再发行的与您的应用程序。

  • 删除完全运行依赖和静态链接到C ++运行时。要做到这一点,设置项目 - &GT;属性 - &GT;配置属性 - &GT; C / C ++ - &GT; code代 - &GT;运行时库多线程(/ MT)

  • Ship the 32 bit redistributables with your application.
  • Remove the runtime dependency altogether and link statically to the C++ runtimes. To do this, set Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library to Multi-threaded (/MT).

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

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