如何檢視dll附加依賴項(轉載)
阿新 • • 發佈:2019-02-13
轉自:http://www.cnblogs.com/wind-net/archive/2012/09/14/2685336.html
開始->所有程式->Microsoft Visual Studio 2008 ->Visual Studio Tools->Visual Studio 2008 命令提示
1 d:\VS\VC>dumpbin 2 Microsoft (R) COFF/PE Dumper Version 9.00.21022.08 3 Copyright (C) Microsoft Corporation. All rights reserved. 4 5 用法: DUMPBIN [選項] [檔案]6 7 選項: 8 9 /ALL 10 /ARCHIVEMEMBERS 11 /CLRHEADER 12 /DEPENDENTS 13 /DIRECTIVES 14 /DISASM[:{BYTES|NOBYTES}] 15 /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} 16 /EXPORTS 17 /FPO 18 /HEADERS 19 /IMPORTS[:檔名] 20 /LINENUMBERS 21 /LINKERMEMBER[:{1|2}] 22 /LOADCONFIG 23 /OUT:檔名 24 /PDATA 25 /PDBPATH[:VERBOSE] 26 /RANGE:vaMin[,vaMax] 27 /RAWDATA[:{NONE|1|2|4|8}[,#]] 28 /RELOCATIONS 29 (按回車鍵繼續) 30 /SECTION:名稱 31 /SUMMARY 32 /SYMBOLS 33 /TLS 34 /UNWINDINFO
檢視程式或動態連結庫需要的動態連結庫
dumpbin /dependents d:\test.exe
檢視動態連結庫的輸出函式
dumpbin /exports d:\libmysql.dll