Detecting 64-Bit DLLs
What is the best way to determine that a DLL is 32- or 64-bit from a
running program? If I issue a LoadLibrary call that attempts to load a
32-bit DLL from my 64-bit application, the result is
ERROR_BAD_EXE_FORMAT. This information is uncomfortably vague. While
in most cases, the problem is that a 32-bit DLL has been used, the
possibility remains that the DLL could be an improperly formatted 64-bit
Re: Detecting 64-Bit DLLs
you can use GetBinaryType for your purpose:
|All times are GMT. The time now is 06:08 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.