To get around this just use OpenKeyReadOnly or set the Access property
to KEY_READ once you have created the TRegistry instance.  These are
available in Delphi 6 and above.  Don't know about Delphi 5.

Jed

> The problem is caused by the fact that TRegistry (and the derived
> TRegInifile) always opens a key with KEY_ALL_ACCESS, even if only
> KEY_READ would be needed.



This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to