title: How to get information about a Windows executable (.exe) using C++
body: <p>I have to create a software that will scan several directories and extracts information about the executables found.</p>
  
  <p>I need to do two things:</p>
  
  <ul>
  <li>Determine if a given file is an executable (<code>.exe</code>, <code>.dll</code>, and so on) - Checking the extension is probably not good enough.</li>
  <li>Get the information about this executable (the <em>company name</em>, the <em>product name</em>, and so on).</li>
  </ul>
  
  <p>I never did this before and thus am not aware if there is a Windows API (or lightweight C/C++ library) to do that or if it is even possible. I guess it is, because <code>explorer.exe</code> does it.</p>
  
  <p>Do you guys know anything that could point me in the right direction ?</p>
  
  <p>Thank you very much for your help.</p>