That's not a bad idea. Unfortunately I can't do that in this instance.

Thanks to all who replied; HKEY_LOCAL_MACHINE it is.
Phil.

Stacey Verner wrote:
We tend to use xml or ini files for the settings in services. That way
the service executable and the settings file are in one place, and you
can easily move it around or take a copy of it.

Stacey

  
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Phil Middlemiss
Sent: Tuesday, 26 July 2005 17:13
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Windows Service accessing registry

I've just worked out that Windows Services don't access the 
HKEY_CURRENT_USER section of the registry even if I set it 
too (which makes sense I guess). Where is the correct 
location in the registry I should be reading and writing to 
for a Windows Service?

Phil.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

    

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



  
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to