Re: [fpc-pascal] Accessing the registry

2004-05-02 Thread Matt Emson
> I would like to access the registry, but cannot figure out how to get > anywhere with it. If it uses a class similar to Delphi's : var Reg: TRegistry; begin Reg := TRegistry.Create; try Reg.RootKey := HKEY_CURRENT_USER; if Reg.OpenKey('\Software\Microsoft\Windows\CurrentVersion\Ru

[fpc-pascal] Accessing the registry

2004-05-02 Thread Matthews
I would like to access the registry, but cannot figure out how to get anywhere with it. I am currently using the 1.0.10 compiler on win32 and have been unable to find any documentation for the Registry unit that was shipped with fpc. Any suggestions or pointers to documentation, examples, or