title: What is a Windows command-line EXE's "side-by-side configuration" and how do I correct it?
body: <p>I have a simple .exe written in C++ (built with Visual Studio 2005) that tests some hardware using a supplied API.  It works fine on the Windows 7 machine I built it on, but when I copy it to another (Windows 7) machine and run it (from the command-line) I get:</p>
  
  <blockquote>
    <p>The application has failed to start
    because its side-by-side configuration
    is incorrect. Please see the
    application event log or use the
    command-line sxstrace.exe tool for
    more detail.</p>
  </blockquote>
  
  <p>What is "side-by-side configuration"?</p>
  
  <p>I ran sxstrace.exe and read the usage info.  It appears I would need to instrument my exe to generate a log file for sxstrace.exe to be useful?</p>
  
  <p>I imagine the problem is my exe requires DLLs that either don't exist on the other machine, or are the wrong version.  How do I find out what DLLs my exe uses, and what versions it links to on my machine (where it works)?  Any other advice on copying it to another machine and getting it running?  Would more information help?</p>