查看dll是32位还是64位

你可以用VS调用dumpbin并使用headers选项,例如:

dumpbin /headers my32bit.dll

输出:

PE signature found

File Type: DLL

FILE HEADER VALUES
         14C machine (x86)
           1 number of sections
    45499E0A time date stamp Thu Nov 02 03:28:10 2006
           0 file pointer to symbol table
           0 number of symbols
          E0 size of optional header
        2102 characteristics
               Executable
               32 bit word machine
               DLL

OPTIONAL HEADER VALUES
         10B magic # (PE32)

你可能感兴趣的:(查看dll是32位还是64位)