"msvcR140.dll"在哪里?是否存在? [英] Where is "msvcR140.dll"? Does it exist?

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

问题描述

我最近毕业于VS2015.出于下面说明的原因,我想避免运行VC ++ Redistributables安装程序.我在安装程序中包含了规定的DLL,用于应用程序本地"安装:

I have recently graduated to VS 2015. For reasons explained below, I want to avoid running the VC++ Redistributables installer. I am including the prescribed DLLs in my installer, for an "app local" installation:

MFC140.DLL
concrt140.dll
msvcp140.dll
vccorlib140.dll
vcruntime140.dll
mfc140u.dll
mfcm140u.dll

这似乎有效.我的应用程序安装在原始" PC上后便可以运行.

This seems to work. My app runs when installed thus on a "virgin" PC.

我的问题是,我在哪里找到msvcr140.dll?

在这里被提及: https://www.visualstudio.com/license-terms/mt228262/.在已安装VC Redistributables的PC上搜索所有目录时,在任何地方都找不到它.是否存在? Windows隐藏了它吗?

It is mentioned here: https://www.visualstudio.com/license-terms/mt228262/. I cannot find it anywhere when searching all directories on a PC where VC Redistributables has been installed. Does it exist? Is Windows concealing it?

注释1 :为什么我需要避免MS VC ++可再发行组件安装程序:

Note 1: Why I need to avoid the MS VC++ Redistributables installer:

  • 它在WiX安装程序中显示为单独的安装.对于我的市场人口统计(消费者)来说,这非常令人困惑.
  • 卸载我的软件时,还需要卸载VC Redist.,这可能会导致复杂化.
  • 在某些情况下,出现了某种导致计算机无法操作的错误操作.我怀疑重复安装了VC Redist.发生的情况是标准用户不再能够启动任何程序.
  • VC Redist.使我的安装程序从25MB膨胀到40MB,再增加了15MB.通过选择我需要的组件,我将其减少了10 MB.
  • 用于测试以前版本的WiX代码复杂,晦涩难懂且难以理解.
  • 是的,我了解自动更新Windows DLL的好处.但是,具有过期DLL的PC优于无法使用的PC.

注释2 :我无法建立静态链接,我的应用程序是Win32和MFC DLL的混合包,出现链接器错误.

Note 2: I can't do a static link, my app is a mixed bag of Win32 and MFC DLLs, I get linker errors.

推荐答案

由于另请参见此答案在位于Program Files (x86)\Common Files\Merge Modules\Microsoft_VC140_CRT_x64.msm的官方合并模块中,Visual C ++ 2015 CRT包含以下文件:

Looking inside the official merge module located at Program Files (x86)\Common Files\Merge Modules\Microsoft_VC140_CRT_x64.msm, the Visual C++ 2015 CRT consists of these files:

api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-datetime-l1-1-0.dll
api-ms-win-core-debug-l1-1-0.dll
api-ms-win-core-errorhandling-l1-1-0.dll
api-ms-win-core-file-l1-1-0.dll
api-ms-win-core-file-l1-2-0.dll
api-ms-win-core-file-l2-1-0.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-core-heap-l1-1-0.dll
api-ms-win-core-interlocked-l1-1-0.dll
api-ms-win-core-libraryloader-l1-1-0.dll
api-ms-win-core-localization-l1-2-0.dll
api-ms-win-core-memory-l1-1-0.dll
api-ms-win-core-namedpipe-l1-1-0.dll
api-ms-win-core-processenvironment-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-1.dll
api-ms-win-core-profile-l1-1-0.dll
api-ms-win-core-rtlsupport-l1-1-0.dll
api-ms-win-core-string-l1-1-0.dll
api-ms-win-core-synch-l1-1-0.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-sysinfo-l1-1-0.dll
api-ms-win-core-timezone-l1-1-0.dll
api-ms-win-core-util-l1-1-0.dll
api-ms-win-crt-conio-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-multibyte-l1-1-0.dll
api-ms-win-crt-private-l1-1-0.dll
api-ms-win-crt-process-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll
concrt140.dll
msvcp140.dll
ucrtbase.dll
vccorlib140.dll
vcruntime140.dll

这篇关于"msvcR140.dll"在哪里?是否存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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