[Lazarus] Remote Registry...

waldo kitty wkitty42 at windstream.net
Fri Aug 23 19:51:38 CEST 2013


On 8/23/2013 13:25, Sven Barth wrote:
> 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.

right but it has to be specifically added, correct? it has not (yet) been added 
other than in FPC trunk? i did see it come in here when i svn upped my FPC and 
lazarus a few hours ago ;)

> 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.

can i assume that RegCloseKey sends the possibly modified key back to the 
remote? i'm just asking to learn O:)

-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.




More information about the Lazarus mailing list