I have been trying to embed a manifest into a Delphi 7 application which elevates the priveleges to "administrator" without the user having to right click and 'Run As Administrator' on Windows Vista. The program has to have access to particular folders and the registry to operate correctly ( as do most :).
The manifest is :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
My .RC file for this is simply :
1 24 "UAC.manifest"
... and the whole basis of this is the excellent article by Aleksander Oven at :
Unfortunately it fails to elevate. Can anybody help me with a reason why ? Perhaps I have to use RT_MANIFEST instead of "24" ? Maybe the manifest is incorrect ? (should 'UACAwareApplication' be replaced by the name of the application executable) ... don't think so but ...
thanks and best wishes