> I have an app that access's HKEY_LOCAL_MACHINE\SOFTWARE\xxxx\xxx. This > works fine as administrator. As a Power user the app seems unable to read or > write to said registry entry although I can open regedit and both read and > write to the same entries. Am I missing something simple?
Just battled this also. If you look with regedit32 (instead of Regedit), you may notice that power user has read but not full control of key. If you reg.openkey it will fail for your power user because doesn't have enough rights. Try either increasing access rights for power user or using reg.openkeyreadonly if that is appropriate. ---------------------------------------------------------- Phil Scadden, Institute of Geological and Nuclear Sciences 41 Bell Rd South, PO Box 30368, Lower Hutt, New Zealand Ph +64 4 5704821, fax +64 4 5704603 --------------------------------------------------------------------------- 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/