title: How can I test a Windows DLL file to determine if it is 32 bit or 64 bit?
body: <p>I'd like to write a test script or program that asserts that all DLL files in a given directory are of a particular build type.</p>
  
  <p>I would use this as a sanity check at the end of a build process on an SDK to make sure that the 64-bit version hasn't somehow got some 32-bit DLL files in it and vice versa.</p>
  
  <p>Is there an easy way to look at a DLL file and determine its type?</p>
  
  <p>The solution should work on both xp32 and xp64.</p>