How to identify dll is 32 bit or 64 bit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mdshafi01
    New Member
    • Jan 2008
    • 36

    How to identify dll is 32 bit or 64 bit

    Hi,
    I have two dlls my questions is how to identify which one is 32 bit dll and which one is 64 bit dll.

    please help me

    shafi
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    That shouldn't be hard. A 32-bit dll won't load on a 64-bit system and a 64-bit dll won't load on a 32-bit system.


    I would just call LoadLibrary() and see if it loads. If you get your HLIB, then off you go.

    Comment

    Working...