title: Developing Apps with Administrator Rights in Delphi
body: <p>I'm using D2010 under Windows 7 to write an app that seems to require admin rights (I think because it uses COM to communicate with a third party .exe, which also requires admin rights). </p>
  
  <p>I've added the manifest resource as required, but when I try to debug the app from the IDE, it reports </p>
  
  <blockquote>
    <p>"Unable to create process. The
    requested operation requires
    elevation"</p>
  </blockquote>
  
  <p>...and it won't run. If I run Delphi as administrator, then my app runs correctly, but this feels like a dangerous brute force approach, especially as most of the apps I develop don't need admin privileges.</p>
  
  <p>Is there any way of getting Delphi to prompt for elevation just when I run my app, rather than having the whole IDE run elevated?</p>