Page History
...
If you don't want to bother with error checking, then use the alternative READDEF service.
Example
Code Block |
---|
* Read a value from the registry If SRP_Registry("READ", "HKCU\Software\MyApp", "ShowFullscreen", Value, Error) EQ 0 then Msg(@Window, "READ Error: ":Error:@FM:@FM:@FM:4) end * Read a default value from the registry If SRP_Registry("READ", "HKCU\Software\MyApp", "", Value, Error) EQ 0 then Msg(@Window, "READ Error: ":Error:@FM:@FM:@FM:4) end |