[Lazarus] Remote Registry...

Sven Barth pascaldragon at googlemail.com
Fri Aug 23 19:25:36 CEST 2013

On 23.08.2013 15:46, waldo kitty wrote:
> On 8/22/2013 23:08, Flávio Etrusco wrote:
>> I guess he means this:
>> http://msdn.microsoft.com/en-us/library/windows/desktop/ms724840%28v=vs.85%29.aspx
> interesting... you'd think that people would mention these things and
> give links as above if it is what they are actually after... thanks for
> the pointer and to michael for the additional information... and
> definitely thanks to sven for the implementation...
> now we wait to see if the OP can update to the latest FPC SVN, as
> indicated by sven, to gain access to it...

He can also use the functionality in 2.6.x, 2.7.1 "just" wraps the 
necessary house keeping. For this he can open the remote registry with 
RegConnectRegistry and pass resulting HKEY handle to the Rootkey 
property of a TRegistry instance. Afterwards he can work normally with 
TRegistry. At the end he needs to close the Rootkey using RegCloseKey. 
This is basically what TRegistry now does in 2.7.1 as well.


More information about the Lazarus mailing list