Visual Studio 2017 Professional - MFC发布版本问题 [英] Visual Studio 2017 Professional - MFC Release build problem

查看:139
本文介绍了Visual Studio 2017 Professional - MFC发布版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 

Hello everybody, 

我是新成员,因为我是Visual Studio和MFC的新手。 

I am a new member here as I am kind of new to Visual Studio and MFC. 

我一直在使用MFC(C ++)开发应用程序。我的应用程序全局包含套接字编程和一些数据后处理,HMI用于绘制已处理的数据。 

I have been developing an application using MFC (C++). My application globally contains socket programming and some post processing of data, with an HMI that plots the processed data. 

在我的计算机上一切都很好,我可以构建调试和发布版本运行生成的.exe没有问题(我有Windows 10 - 64位操作系统)。 

On my computer all's fine, I can build both debug and release versions and run the resulting .exe without problems (I have Windows 10 - 64 bit OS). 

当我尝试在其他机器上运行我的.exe时,我有一个错误说" ; mfc140.dll"不见了。我将其复制到其他机器上的system32文件夹中。现在,我得到的是"0xc00007b"。错误消息。 

When I try to run my .exe on other machines, I have an error saying that "mfc140.dll" is missing. I copied it inside the system32 folder on the other machines. Now, I'm getting the "0xc00007b" error message. 

我无法弄清楚我在这里缺少什么。它与MFC有关吗?或者是我的构建?或者它是Windows版本本身? 

I'm not being able to figure out what I'm missing here. Is it MFC-related? Or is it my build? Or is it the windows version itself? 

任何人都可以帮忙吗?我真的很感激! 

Can anyone help? I'd really appreciate! 

提前致谢。 

Thanks in advance. 

推荐答案

你必须安装Microsoft Visual C ++ Visual Studio 2017的可再发行软件包:

在64位系统上:x64

On 64 bit systems: x64

https://go.microsoft.com/fwlink/?LinkId=746572

在32位系统上:x86

On 32 bit Systems: x86

https://go.microsoft.com/fwlink/?LinkId=746571

或者在此选择并下载:

https://www.visualstudio.com/downloads/

然后"其他工具和框架"和"Microsoft Visual C ++ Redistributable for Visual Studio 2017"

https://www.visualstudio.com/downloads/
Then "other Tools and Framework" and "Microsoft Visual C++ Redistributable für Visual Studio 2017"

此致,Guido


这篇关于Visual Studio 2017 Professional - MFC发布版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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