探究VS2017运行库
解決問(wèn)題:無(wú)任何編譯環(huán)境的windows系統(tǒng) 運(yùn)行VS2017編譯的程序
準(zhǔn)備工作:depends.exe windows系統(tǒng)(win7、win8、win8.1、win10)
depends下載地址:
http://www.dependencywalker.com/
下載各個(gè)版本的windows純凈版系統(tǒng) 地址如下:
https://www.microsoft.com/zh-cn/software-download/windows10
https://msdn.itellyou.cn/
安裝系統(tǒng),通過(guò)depends.exe 對(duì)比 安裝VS2017運(yùn)行庫(kù)前與安裝后dll的差別,替換嘗試,逐步鎖定最小所需庫(kù)。
注:以下各個(gè)系統(tǒng)所需的dll是通過(guò)我的程序分析出來(lái)的(可能僅對(duì)一部分人適用)
windows7:
api-ms-win-core-file-l1-2-0.dll
api-ms-win-core-file-l2-1-0.dll
api-ms-win-core-localization-l1-2-0.dll
api-ms-win-core-processthreads-l1-1-1.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-timezone-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-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
ucrtbase.dll
windows8 windows8.1:
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-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
ucrtbase.dll
windows10:
不需要任何庫(kù)。
上述dll一般位于C:\Windows\System32或者C:\Windows\SysWOW64路徑下;
獲取方法:
1.從windows10拷出這些庫(kù)(測(cè)試可以用于win7 win8 win8.1)
2.在win7、win8、win8.1安裝編譯環(huán)境后拷出;
3.https://download.csdn.net/download/liny000/10660585
總結(jié)
以上是生活随笔為你收集整理的探究VS2017运行库的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 简洁的 Bash Programming
- 下一篇: 什么是计算机思维?