.exe错误Win7x64缺少MSVCP120.dll [英] .exe gives error MSVCP120.dll is missing for Win7x64

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

问题描述

我使用VS2013创建了.exe,并通过注册表路径将它直接添加到控制面板。我建立了x64。它为Win8.1x64启动完美。但是当我在Win7x64上启动它时,会给出MSVCP120.dll错误。如果我复制dll它工作。但是dll是否直接连接到.exe?如果没有,请附加它们?

解决方案

您的错误只是意味着Windows 7计算机中缺少VS2013的MSVC可重新分发。默认情况下,Windows 7没有此DLL。



但是,请不要在willy-nilly周围复制DLL。您需要确保可再发行组件作为安装程序的一部分或用户单独安装。例如,您可以让安装程序检测到可再分发的存在与否,并提醒用户安装它。您可以将其包含在您的安装包中,这是允许的。



请注意,对于x86和x64,还有2个版本的可再发行组件。您需要为您的应用程序提供正确的一个。您可以使用此链接下载Visual Studio 2013的Visual C ++可再发行组件包。


I created .exe using VS2013 and I added it directly to control panel by giving registry path. I built it for x64. It launches perfectly fine for Win8.1x64. But when I launches it on Win7x64 it gives MSVCP120.dll error. If I copy dll it works. But does the dll's are connected directly to .exe? If not how do I attach them?

解决方案

Your error just means that the MSVC redistributable for VS2013 is missing from the Windows 7 computer. Windows 7 doesn't have this DLL by default.

However, please don't copy DLLs around willy-nilly. You need to make sure the redistributable is installed either as part of your installer or separately by the user. For example, you can have your installer detect the existence or not of the redistributable and alert the user to install it. You could include it with your installation package, which is allowed.

Note that there are 2 versions of the redistributable, for x86 and x64. You need to supply the right one(s) for your application. You can use this link to download the Visual C++ redistributable packages for Visual Studio 2013.

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

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