Non-. net files by: Dumpbin.exe/headers File.exe (C:\Program files (x86) \microsoft Visual Studio 12.0\vc\bin)
. NET files by:corflags. exe file.exe (C:\Program files (x86) \microsoft Visual Studio 12.0\vc\bin)
Any CPU PE32 with 32BIT = 0
x86 PE32 with 32BIT = 1
X64/itanium (IA-64) pe32+ with 32BIT = 0
The simplest way is to use any text editor such as: Notepad program open to check the file to see pe L for x86,PE d† for x64
Recommended Software:
EXE 64bit Detector v1.0 (http://securityxploded.com/exe-64bit-detector.php)
Some reference sites:
Http://www.it165.net/pro/html/201403/10417.html
http://blog.csdn.net/wangwenjing90/article/details/8737279
Http://stackoverflow.com/questions/1001404/check-if-unmanaged-dll-is-32-bit-or-64-bit
Http://stackoverflow.com/questions/495244/how-can-i-test-a-windows-dll-to-determine-if-it-is-32bit-or-64bit
Http://stackoverflow.com/questions/480696/how-to-find-if-a-native-dll-file-is-compiled-as-x64-or-x86
Http://superuser.com/questions/358434/how-to-check-if-a-binary-is-32-or-64-bit-on-windows
https://msdn.microsoft.com/en-us/windows/hardware/gg463119.aspx Microsoft PE and COFF specification 8.3 updated: February 6, 2013
Check if EXE, DLL, SYS and other files are 32-bit or 64-bit