Is it possible to run an application as Administrator from the Delphi IDE

delphi, delphi-2007, windows-vista

Solution

I suppose if you run Delphi under administrator privileges all child processes will run with the same privileges as Delphi itself.

Problem

I am trying to debug an application in Delphi 2007 on a Vista machine. The application was originally written for XP so it must be run with administrator privileges. I know that I could put some information into the manifest or update the code but I am looking for a quick fix that can be used in all my projects. Does anyone know if there is an easy way to get Delphi to launch an application as administrator in Vista?

Original source