[ACCEPTED]-How to detect that a given PE file (exe or dll) is 64 bit or 32 bit-64-bit
Accepted answer
GetBinaryType(...) returns SCS_32BIT_BINARY
for a 32-bit Windows-based application
and 1 SCS_64BIT_BINARY
for a 64-bit Windows-based application.
Check this: http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339%28v=vs.85%29.aspx Look for "Magic" member 2 - you can find out whether PE header is 1 32 bit(PE32) or 64 bit(PE32+).
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.