怎么知道windows dll是32位还是64位?
2013-02-19 15:27 Scott Guthrie Liu 阅读(329) 评论(0) 编辑 收藏 举报使用Visual Studio 2008 Command Prompt
你可以用VS调用dumpbin并使用headers选项,例如:
dumpbin /headers my32bit.dll
输出:
PE signature found
File Type: DLL
FILE HEADER VALUES
14C machine (x86)
8 number of sections
4800C572 time date stamp Sat Apr 12 22:21:38 2008
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
230E characteristics
Executable
Line numbers stripped
Symbols stripped
32 bit word machine
Debug information stripped
DLL
OPTIONAL HEADER VALUES
10B magic # (PE32)