How can I test a windows dll to determine if it is 32bit or 64bit?
- by morechilli
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.