When it doesn't work, what actually happens
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 10 February 2000 18:30
To: Multiple recipients of list delphi
Subject: [DUG]: Win 95/registry

What am I doing wrong here???
 
this works on some Win 95 PCs but not others.....
 
snip >>
 
  with TRegistry.Create do
    try
      RootKey := HKEY_LOCAL_MACHINE;
      OpenKeyReadOnly('SOFTWARE\Interbase Corp\InterBase\CurrentVersion\');
      GBakPath := ReadString('RootDirectory');
    finally
      Free;
    end;
 
>>
 
On the offending PCs GBakPath is set to nothing, even though I can run regedit and find the Key manually on them.

Reply via email to