title: Prefetching information in windows XP fails and abort the launching of my application
body: <p>I compile my application on a windows XP SP3 machine. When it compiles, I try to lauch it, and windows replies me back with :</p>
  
  <blockquote>
    <p>Unable to start program 'xx'. This
    application has failed to start
    because the application configuration
    is incorrect. Reviex the manifest file
    for possible errors. Reinstalling the
    application may fix this problem. For
    more details , please see the
    application event log.</p>
  </blockquote>
  
  <p>Trying to copy DLL files didn't help (see <a href="https://stackoverflow.com/questions/1322758/unable-to-start-program-in-debug-mode-debug-dll-installation-issue">my previous question</a> if you want).</p>
  
  <p>I've launch Process monitor from sysinternals then.<br>
  I try here to summarise the report while it is not very long.<br>
  The process starts, then its first thread. Following is calls to :<br>
  QueryNameInformationFile() of my exe file => <em>SUCCESS</em><br>
  Load Image() of my exe file => <em>SUCCESS</em><br>
  Load Image() of ntdll.dll   => <em>SUCCESS</em><br>
  QueryNameInformationFile() if my exe file => <em>SUCCESS</em><br>
  CreateFile() Try to create it un C:\WINDOWS\Prefetch\blahbla.pf => <strong>NAME NOT FOUND</strong><br>
  then the thread and the process exits.  </p>
  
  <p>I've add my users with full control on that folder (C:\WINDOWS\prefetch), but did not help.
  How to make it work? I feel if I go through this step, my application will work as expected.</p>
  
  <p>Edit: I add procmon details about the error:</p>
  
  <blockquote>
    <p>18:13:40,4305346  xxx.exe 3172    CreateFile  C:\WINDOWS\Prefetch\XXX.EXE-1FA9609A.pf NAME
    NOT FOUND Desired Access: Generic
    Read, Disposition: Open, Options:
    Synchronous IO Non-Alert, Attributes:
    n/a, ShareMode: None, AllocationSize:
    n/a</p>
  </blockquote>