Microsoft visual studio has something that worked for me recently:
C:\Users\Owner>"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\dumpbin" /headers d:\frmd2f.dll
Microsoft (R) COFF/PE Dumper Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file d:\frmd2f.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
8664 machine (x64) << - this one shows it’s compiled for 64bit !!!
6 number of sections
4D132F20 time date stamp Thu Dec 23 20:14:40 2010
0 file pointer to symbol table
0 number of symbols
F0 size of optional header
2022 characteristics
Executable
Application can handle large (>2GB) addresses
DLL
OPTIONAL HEADER VALUES
20B magic # (PE32+) <<64bit shows as PE32+, 32bit shows as PE32
Kind Regards,
Stefan Mueller
From: [email protected]
[mailto:[email protected]] On Behalf Of John Bird
Sent: Tuesday, December 13, 2011 5:27 PM
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Finding what type of executable a program is
Are there any good utilities to show what types of executable a file is?
(On Unix/Linux there is a utility called file which does a good job of
diagnosing a file type – the GNU version I have just says “Microsoft
Executable” for 16 bit and 32 bit executables)
John
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with
Subject: unsubscribe