Robert said:
> Sounds like the registry key doesnt actually exist.  When you 
> set cancreate
> to true it creates the key for you and your readstring fails 
> because there
> is no value.  Could be wrong, Friday afternoon and all :)

The key exists (and values within it) as proved by looking at them in
regedit and the fact that I'm using the same constant to get and set them.

Bevan said:
> Have you tried using OpenKeyReadOnly instead of OpenKey?

Yep. No go. Using OpenKey(KeyName, True) returns true, but then any call to
ReadString (or ReadAnything) causes an access violation.

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"

Reply via email to