UCRT: VC 2015 Universal CRT, by Microsoft
来源:互联网 发布:ubuntu安装qt5 编辑:程序博客网 时间:2024/05/01 18:12
https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/
App local UCRT DLLs: C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
经Liigo本人测试,VC2015非静态链接C运行库(/MD)编译的EXE/DLL,在XP SP3系统内,除了依赖以上目录内的(几乎)所有dll以外,还额外依赖vcruntime140.dll
。前面提到的这些dll,共计42个,统统放到EXE/DLL所在目录,可确保所有依赖项都不欠缺。这42个dll文件分别是(行首是字节数):
18,624 api-ms-win-core-console-l1-1-0.dll17,600 api-ms-win-core-datetime-l1-1-0.dll17,600 api-ms-win-core-debug-l1-1-0.dll18,104 api-ms-win-core-errorhandling-l1-1-0.dll21,696 api-ms-win-core-file-l1-1-0.dll18,112 api-ms-win-core-file-l1-2-0.dll18,112 api-ms-win-core-file-l2-1-0.dll18,112 api-ms-win-core-handle-l1-1-0.dll18,112 api-ms-win-core-heap-l1-1-0.dll18,104 api-ms-win-core-interlocked-l1-1-0.dll18,624 api-ms-win-core-libraryloader-l1-1-0.dll20,672 api-ms-win-core-localization-l1-2-0.dll18,624 api-ms-win-core-memory-l1-1-0.dll18,112 api-ms-win-core-namedpipe-l1-1-0.dll19,136 api-ms-win-core-processenvironment-l1-1-0.dll20,160 api-ms-win-core-processthreads-l1-1-0.dll18,624 api-ms-win-core-processthreads-l1-1-1.dll17,600 api-ms-win-core-profile-l1-1-0.dll17,600 api-ms-win-core-rtlsupport-l1-1-0.dll18,112 api-ms-win-core-string-l1-1-0.dll20,160 api-ms-win-core-synch-l1-1-0.dll18,624 api-ms-win-core-synch-l1-2-0.dll19,136 api-ms-win-core-sysinfo-l1-1-0.dll18,112 api-ms-win-core-timezone-l1-1-0.dll18,112 api-ms-win-core-util-l1-1-0.dll19,136 api-ms-win-crt-conio-l1-1-0.dll22,208 api-ms-win-crt-convert-l1-1-0.dll18,624 api-ms-win-crt-environment-l1-1-0.dll20,160 api-ms-win-crt-filesystem-l1-1-0.dll18,624 api-ms-win-crt-heap-l1-1-0.dll18,624 api-ms-win-crt-locale-l1-1-0.dll28,864 api-ms-win-crt-math-l1-1-0.dll25,792 api-ms-win-crt-multibyte-l1-1-0.dll72,896 api-ms-win-crt-private-l1-1-0.dll19,136 api-ms-win-crt-process-l1-1-0.dll22,720 api-ms-win-crt-runtime-l1-1-0.dll24,256 api-ms-win-crt-stdio-l1-1-0.dll24,256 api-ms-win-crt-string-l1-1-0.dll20,672 api-ms-win-crt-time-l1-1-0.dll18,624 api-ms-win-crt-utility-l1-1-0.dll917,184 ucrtbase.dll85,328 vcruntime140.dll
Windows Kits 10可通过VC2015安装包安装,vcruntime140.dll
文件可从安装过vc_redist.x86.exe
for vc2015的系统System32目录中提取。见附件vc2015-rtl-x86.7z。64位的另外一套,但文件名称是一致的。
把这么一大堆dll放到应用程序目录也挺尴尬的(放入单独的\bin子目录可有所缓解)。微软推荐的方法是额外安装vc_redist.exe
(却也是麻烦了一步)。很多开发者还是希望把单个dll运行库(如msvcrt.dll)放到应用目录的,方便部署。这个死微软佬,到了VC2015,非要把运行库拆分出几十个dll(其实合起来才几百KB [注1]),一开始甚至是拒绝提供App Local DLLs的,被抗议太多了才被迫妥协(详见上文链接)。观望VC2016(即VC15)的策略。
注1: 非压缩版1.75MB,zip压缩后911KB,7zip压缩后435KB。
VC 2015静态链接C运行库(/MT)编译的EXE/DLL,运行时不依赖任何C运行库。微软似乎并不太愿意推荐这种编译方式。
- UCRT: VC 2015 Universal CRT, by Microsoft
- 下一代VC运行时库系统——the Universal CRT
- vs2015部署---下一代VC运行时库系统:the Universal CRT
- VC-CRT调试功能
- VC-CRT调试功能
- vc crt的malloc相关
- VC CRT 内存泄漏检测
- dbgheap.c From vc/crt/src/*.c
- 【揭秘VC CRT库Intel模块】-- 开篇
- 【揭秘VC CRT库Intel模块】-- strlen
- Universal Extractor 1.2.1 by Jared Breland
- CRT
- CRT
- CRT
- CRT
- Microsoft office2016(专业增强版) 安装错误,报CRT(KB2999226)
- JQuery工具 - Glimmer by Microsoft
- WHQL catalog file- by microsoft
- 找出php中可能有问题的代码行
- Jacobian矩阵、Hessian矩阵、特征值、特征向量
- 赠券收集者问题
- NOIP模板整理
- java excle导入 导出
- UCRT: VC 2015 Universal CRT, by Microsoft
- LoadDriverRegistry
- [操作系统]自动化集成部署udeployer 批量统一安装一键部署
- Volley中json请求POST
- mysql cmd 窗口乱码
- 欢迎使用CSDN-markdown编辑器
- 牛人(周志华)推荐的人工智能网站
- Encryption raised an exception
- C++primer5th 课后题13.58