使用vs自带的dumpbin工具: 打开VS命令行 选择“x64 Native Tools Command Prompt for VS 20XX” 执行dumpbin /dependents dll/exe1dumpbin /dependents dll/exe 查看依赖项1234567891011121314151617181920212223242526272829C:\Program Files\Microsoft Visual Studio\2022\Community>dumpbin /dependents C:\windows\system32\calc.exeMicrosoft (R) COFF/PE Dumper Version 14.41.34120.0Copyright (C) Microsoft Corporation. All rights reserved.Dump of file C:\windows\system32\calc.exeFile Type: EXECUTABLE IMAGE Image has the following dependencies: SHELL32.dll KERNEL32.dll msvcrt.dll ADVAPI32.dll api-ms-win-core-synch-l1-2-0.dll api-ms-win-core-processthreads-l1-1-0.dll api-ms-win-core-libraryloader-l1-2-0.dll Summary 1000 .data 1000 .pdata 1000 .rdata 1000 .reloc 5000 .rsrc 1000 .textC:\Program Files\Microsoft Visual Studio\2022\Community> 在Image has the following dependencies:中会列出所有的依赖项。