1. 程式人生 > >Dumpbin檢視lib、dll檔案是32位還是64位

Dumpbin檢視lib、dll檔案是32位還是64位

32bit DLL


C:\Program Files (x86)\Java50\jre\bin\j9vm> dumpbin /headers jvm.dll
</span>
Microsoft (R) COFF/PE Dumper Version 10.00.30319.01
 Copyright (C) Microsoft Corporation.  All rights reserved.


 Dump of file jvm.dll

 PE signature found

 File Type: DLL

 FILE HEADER VALUES
              14C machine (x86)
                5 number of sections
         4720D7EE time date stamp Fri Oct 26 01:52:46 2007
                0 file pointer to symbol table
                0 number of symbols
               E0 size of optional header
             210E characteristics
                    Executable
                    Line numbers stripped
                    Symbols stripped
                    32 bit word machine
                    DLL 

64bit DLL


C:\Program Files\Java50\jre\bin\j9vm>dumpbin /headers jvm.dll

Microsoft (R) COFF/PE Dumper Version 10.00.30319.01
 Copyright (C) Microsoft Corporation.  All rights reserved.


 Dump of file jvm.dll

 PE signature found

 File Type: DLL

 FILE HEADER VALUES
             8664 machine (x64)
                6 number of sections
         43696321 time date stamp Thu Nov 03 09:08:49 2005
                0 file pointer to symbol table
                0 number of symbols
               F0 size of optional header
             202E characteristics
                    Executable
                    Line numbers stripped
                    Symbols stripped
                    Application can handle large (>2GB) addresses
                    DLL