1. 程式人生 > >用工具軟體dumpbin.exe檢視可執行檔案或庫的動態庫依賴項

用工具軟體dumpbin.exe檢視可執行檔案或庫的動態庫依賴項

就可以看到以下的資訊:

Microsoft (R) COFF/PE Dumper Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file your-file.dll

File Type: DLL

  Image has the following delay load dependencies:   // 執行時動態載入的dll。

    CONCRT140.dll

  Image has the following dependencies:  //載入程式時載入的dll
VCRUNTIME140.dll api-ms-win-crt-string-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-runtime-l1-1-0.dll api-ms-win-crt-stdio-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-convert-l1
-1-0.dll api-ms-win-crt-time-l1-1-0.dll api-ms-win-crt-filesystem-l1-1-0.dll api-ms-win-crt-environment-l1-1-0.dll api-ms-win-crt-utility-l1-1-0.dll KERNEL32.dll Summary 3000 .data 1000 .didat 2000 .idata 4000 .reloc 1000 .rsrc 61000 .text

ps:1. 如果有Image has the following delay load dependencies

,列出的為 執行時動態載入的dll。
      2. 如果有Image has the following dependencies,列出的為載入程式時載入的dll。