Windows command to tell whether a .dll file is 32 bit or 64 bit?

becks picture becks · Jan 28, 2013 · Viewed 33.6k times · Source

I'm looking for a command in windows cmd to tell me if a certain dll file is 32 bit or 64 bit

Is there something like this in windows ?

Answer

Jon picture Jon · Jan 28, 2013

DUMPBIN is included with Visual C++ and can provide this information with the /HEADERS switch.

Example output from a 32-bit image:

FILE HEADER VALUES
     14C machine (i386)
       6 number of sections
306F7A22 time date stamp Sun Oct 01 22:35:30 1995
       0 file pointer to symbol table
     1D1 number of symbols
      E0 size of optional header
     302 characteristics
            Executable
            32 bit word machine
            Debug information stripped