Luke
Try changing
with TRegistry.Create do begin
to
with TRegistry.Create( KEY_READ OR KEY_WRITE ) do begin
Also ... does this fail with any key? Or is it
specific to this one key in your example?
-ns
----- Original Message -----
From: "Luke Pascoe" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 11:57 AM
Subject: RE: [DUG]: urgent response needed
> > >Yep. No go. Using OpenKey(KeyName, True) returns true, but
> > then any call
> > to
> > >ReadString (or ReadAnything) causes an access violation.
> >
> > Get rid of the with statement and see how it goes...
>
> Already been there, no go :-(
>
> Luke.
> --------------------------------------------------------------------------
-
> 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"