<!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">
Wow, that is a major <span>isnt</span> it? I have <span>openkey</span>
used in several of my programs. <br>
Can <span>TRegistry</span>.Access change the non-administrator
privilege?<br>
Alistair+<br>
<br>
Ross Levis wrote:
<blockquote cite="mid017301c5575b$699aa4b0$6900a8c0@levis4" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2627" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Am I correct that TRegistry.OpenKey
will fail on a HKLM key for a non-administrator user even if the
program is only reading the key and not writing? This seems to be the
case.</font></div>
<div> </div>
<div><font face="Arial" size="2">Should I only be using
TRegistry.OpenKeyReadOnly?</font></div>
<div> </div>
<div><font face="Arial" size="2"><font color="#000000">Cheers,</font></font></div>
<div><font face="Arial" size="2"><font color="#000000">Ross.</font></font></div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Delphi mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a>
<a class="moz-txt-link-freetext" href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a>
</pre>
</blockquote>
</body>
</html>