Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

How can a DLL be probed for its Bitness rather than Probing OS?

Best Regards,

ABHISHEK DEY
Posted

For .EXE files there is a Windows API function that will do the job (GetBinaryType[^]), but for DLL files you have to deal with their PE format.
Here[^] you can find a solution with example source code. :)
 
Share this answer
 
Thanx ...Found a very good answer!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900