How can I test a windows dll to determine if it is 32bit or 64bit?

Posted by morechilli on Stack Overflow See other posts from Stack Overflow or by morechilli
Published on 2009-01-30T11:42:31Z Indexed on 2010/04/15 7:43 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

I'd like to write a test script or program that asserts that all dlls in a given directory are of a particular build type.

I would use this as a sanity check at the end of a build process on an sdk to make sure that the 64bit version hasn't somehow got some 32bit dlls in it and vice versa.

Is there an easy way to look at a dll file and determine its type?

The solution should work on both xp32 and xp64.

© Stack Overflow or respective owner

Related posts about 64bit

Related posts about 32bit