Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Open an user's registry key from a service app

www.cryer.info
Managed Newsgroup Archive

Open an user's registry key from a service app

Subject:Open an user's registry key from a service app
Posted by:"Rudy Herstrom" (nomaaaa..@gmail.com)
Date:6 Nov 2006 03:33:48

Hi

I'm building a service application which needs to read the
settings an external program has wrote in the registry. This
program write its settings in the HKEY_CURRENT_USER hive. If I
know the username of the user which runs the program, how can I
open the valid key from my service to read the data ?
(users seems to have a personnal key named by using their SID ?...)

Best regards,

Rudy

Replies:

www.cryer.info
Managed Newsgroup Archive