查看程序或dll,信息,如位数


"D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\dumpbin.exe" /headers  XXX.exe

Microsoft (R) COFF/PE Dumper Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
Dump of file QtWebApp.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
            8664 machine (x64)
               6 number of sections
        54F170AB time date stamp Sat Feb 28 15:39:23 2015
               0 file pointer to symbol table
               0 number of symbols
              F0 size of optional header
              22 characteristics
                   Executable
                   Application can handle large (>2GB) addresses
OPTIONAL HEADER VALUES
             20B magic # (PE32+)
           12.00 linker version
           22E00 size of code
           1BA00 size of initialized data

machine (x64)  -- 64 位

machine (i386) -- 32 位