在 Windows 10 下Dependency Walker工具会卡住,如果装了visual studio可以使用它自带的工具dumpbin.exe来查找依赖库dumpbin.exe /dependents test.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>dumpbin.exe /dependents E:\test.exe
Microsoft (R) COFF/PE Dumper Version 14.28.29913.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file E:\test.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
QtCored4.dll
QtGuid4.dll
boost_thread-vc110-mt-gd-1_53.dll
boost_system-vc110-mt-gd-1_53.dll
KERNEL32.dll
MSVCP120D.dll
MSVCR120D.dll
Summary
2000 .data
5000 .idata
D000 .rdata
4000 .reloc
1000 .rsrc
47000 .text