I was aware of the issues writing / read to / from the registry in a dll,
but this is from just a standard exe. It will create keys alright if they
are not there but anything to do with values, just won't work. Doesn't
create them if they aren't there. This is on both NT and 98, NT is logged
on as administrator. Creating the value entries myself doesn't solve the
problem either.
-----Original Message-----
From: Myles Penlington [mailto:[EMAIL PROTECTED]]
Sent: Friday, 14 July 2000 16:20
To: Multiple recipients of list delphi
Subject: RE: [DUG]: TRegistry
What are you writing from?
An application should be no problem.
A DLL or Service application can cause problems. In some cases NT security
will just not let you write to the registry (Especially a DLL). You should
be able to read okay.
Myles.
> -----Original Message-----
> From: Tony Sinclair [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 14, 2000 4:26 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: TRegistry
>
> Hi all,
>
> I am trying to get the T(Damn)Registry to save some values into
> HKEY_LOCAL_MACHINE and it just won't do it. Is there anything I need to
> do
> special apart from
>
> RootKey
> Access
> OpenKey
> WriteString
> CloseKey
>
> Thanks in advance
>
> Tony Sinclair
> Holliday Group Limited
> Christchurch
> New Zealand
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz