<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I cant find the resource I last used but there are heaps of web pages
about this. See link below for the codegear one hat has some
information that may be of use.<br>
<br>
<a class="moz-txt-link-freetext" href="http://pascalfonteneau.developpez.com/articles/delphi/vista/uac/VistaUACandDelphi.pdf">http://pascalfonteneau.developpez.com/articles/delphi/vista/uac/VistaUACandDelphi.pdf</a><br>
<br>
<br>
Some time (before Vista) we made the jump out of the registry and back
to ini files and have never regretted it ! Certainly made Vista
enabling our app pretty easy :)<br>
<br>
Cheers<br>
Rob<br>
<span style="" lang="EN-NZ"><o:p></o:p></span>
<div class="moz-signature">
<div class="Section1">
<p class="MsoNormal"><span style="" lang="EN-NZ"><o:p> </o:p></span></p>
</div>
</div>
<br>
<br>
Conor Boyd wrote:
<blockquote
cite="mid:F7C0AA5DD1508F4789E10B6CC9BB75DB0262CEB0@nzc-ap-xch-02.ap.trimblecorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16825" name="GENERATOR">
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">Hi all,</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">I'm about to pull a chunk of
code out of my Delphi app and bundle it into another binary so that I
can elevate that chunk of functionality on Vista, while leaving the
main app running unelevated.</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">I've seen a number of references
to the blog posting linked below which I can't get access to (when I
visit it, it says I haven't been invited to read that blog). I believe
this article to be describing how to package this code up into a COM
DLL and elevate my administrative functionality that way.</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2"><a moz-do-not-send="true"
href="http://developersoven.blogspot.com/2007/02/leveraging-vistas-uac-with-delphi-part.html">http://developersoven.blogspot.com/2007/02/leveraging-vistas-uac-with-delphi-part.html</a></font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">Can anybody here provide more
information on this process? I know how to write COM DLLs no problem,
but I'm unsure about whether there are other issues involved here?</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">Or does anybody have an
alternative suggestion for functionality requiring elevation on Vista?
The other alternative I've got is just to bundle my code into a simple
executable with an elevated manifest resource compiled into it, and
simply ShellExec that.</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">(The functionality in question
is simply writing value(s) to "our" key in HKLM in the registry).</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">Thanks,</font></span></div>
<div dir="ltr" align="left"><span class="466184002-07052009"></span> </div>
<div dir="ltr" align="left"><span class="466184002-07052009"><font
color="#0000ff" face="Arial" size="2">Conor</font></span></div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
</blockquote>
</body>
</html>