How are you opening the registry? You probably want read only. By default
the Delphi opens read write. There is a read only open from memory.
Have you set the sub key before you do your open - so that only open the
required sub key of the registry??
Can the users modify the settings they see with regedit? You may need to use
the regedt32 to change the ACL bits on the subkeys to get round the problem
in the mean time.
Myles.
-----Original Message-----
From: David O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 3:07 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Win 2000 and the Registry
We have a number of apps that read keys from HKEY_LOCAL_MACHINE. A client
has upgraded their site to Win2000, and unless they are an administrator,
cannot use our software. The keys return BLANK for a normal user.
If a normal user runs Regedit, they can see the key is there and correct.
But we cannot read the key programmatically.
Any Ideas?
Dave.
---------------------------------------------------------------------------
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"
---------------------------------------------------------------------------
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"