title: Compiling 32-bit application using Visual Studio on a 64-bit machine
body: <p>I'm trying to compile a simple 32-bit Hello World application written in C using Visual Studio 2010 on a 64-bit machine on a Windows 7 fresh install. I also installed the "Windows SDK for Windows 7 and .NET Framework 4" after installing Visual Studio.
  I built the application selecting "Win32" as platform. It works on Windows 7 but if I run the application on my 32-bit machine with Windows XP Professional (fresh install also this, without softwares and Service Packs) it seems not working getting this error:</p>
  
  <pre><code>"This application has failed to start because msvcr100.dll was not found"
  </code></pre>
  
  <p>If it can be useful Dependency Walker detects 2 errors (see the linked picture for details):</p>
  
  <pre><code>"Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module."
  "Error: Modules with different CPU types were found."
  </code></pre>
  
  <p><a href="http://img820.imageshack.us/img820/4725/errordp.png" rel="nofollow">http://img820.imageshack.us/img820/4725/errordp.png</a> (PIcture)</p>
  
  <p>How can I solve it? Thanks!</p>