程序无法启动,因为您的计算机中缺少mfc120ud.dll [英] The program can't start because mfc120ud.dll is missing from your computer

查看:1793
本文介绍了程序无法启动,因为您的计算机中缺少mfc120ud.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



运行它我得到:

我正在尝试运行一个应用程序,我最近开发到另一台电脑,我使用VS2013编译。 / p>


程序无法启动,因为您的计算机中缺少mfc120ud.dll。尝试重新安装程序来解决这个问题。


我从网络中搜索过mfc120ud.dll,但没有任何结果。我已经将这个dll文件从我开发的应用程序的计算机上复制/粘贴到另一台计算机的system32上,这意味着:


C:\Users\u\System32\mfc120ud.dll不是设计为在Windows上运行或包含错误。尝试使用原始安装媒体再次安装程序,或与系统管理员或软件供应商联系以获得支持。


我正在开发的是64位,另一个是32位,我已经从System32复制/粘贴mfc120ud.dll版本,我如何解决这个问题?

解决方案


程序无法启动,因为您的计算机中缺少mfc120ud.dll。尝试重新安装程序来解决这个问题。


这是MFC的调试库之一。当您构建程序的调试版本时,这是您链接的库。您的开发者机器上存在,但您无法重新分发。



您需要执行以下操作:


  1. 构建您的项目以进行发布。这将链接到任何运行时DLL的发行版本。

  2. 在计划运行程序的任何计算机上安装MSVC和MFC可重新分发依赖项。另一种方法是将运行时DLL安装在与可执行文件相同的目录中。




我已经复制/从System32粘贴mfc120ud.dll版本


您不允许这样做。回溯您的步骤并撤消。


I'm trying to run an application that I've recently developped onto another computer and which I've compiled using VS2013.

Running it I get:

The program can't start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

I've searched the mfc120ud.dll from the net but without any result. I've copied/pasted this dll file from the computer on which I've developed that app onto the system32 of the other computer, doing that implies:

C:\Users\u\System32\mfc120ud.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

Knowing that the computer on which I'm developing is a 64-bits one and the other one is 32-bits, and that I've copied/pasted the mfc120ud.dll version from System32, how do I to fix this issue?

解决方案

The program can't start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

That is one of the debug libraries for MFC. That's the library that you link against when you build debug releases of your program. It is present on your developer machine, but you cannot redistribute it.

You need to do the following:

  1. Build your project for release. This will link against the release versions of any runtime DLLs.
  2. Install the MSVC and MFC redistributable dependencies on any machine on which you plan to run your program. An alternative is to install the runtime DLLs in the same directory as your executable.

I've copied/pasted the mfc120ud.dll version from System32

You are not allowed to do that. Retrace your steps and undo that.

这篇关于程序无法启动,因为您的计算机中缺少mfc120ud.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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