I am trying to read the (Default) value of the key .lay and the following does not work. Any suggestions?
I am trying the following:
Var RegistryDB : TRegistry;
aStringValue : String;
...
RegistryDB.RootKey := HKEY_CLASSES_ROOT; {working}
RegistryDB.OpenKey('.lay\'); {working}
aStringValue := RegistryDB.ReadString('(Default)'); {not working}
Thanks for any input.