Can anyone tell me why this fails with Win 95 and what I can do about it? Works fine in Win 2000. with TRegistry.Create do begin RootKey := HKEY_CURRENT_USER; if OpenKey('\Software\packageX\anExistingEntry', False) then try try if ValueExists(Value) then begin Res := ReadInteger(Value); Result := True; end; except end; finally Free; end else Free; end; TIA Stephen --------------------------------------------------------------------------- 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"