<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That's not a bad idea. Unfortunately I can't do that in this instance.<br>
<br>
Thanks to all who replied; HKEY_LOCAL_MACHINE it is.<br>
Phil.<br>
<br>
Stacey Verner wrote:
<blockquote
 cite="midF2A917BCAC62FA47AE05530061DC3DF014C3E1@porky.int.cjntech.co.nz"
 type="cite">
  <pre wrap="">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

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a> 
[<a class="moz-txt-link-freetext" href="mailto:delphi-bounces@ns3.123.co.nz">mailto:delphi-bounces@ns3.123.co.nz</a>] 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
<a class="moz-txt-link-abbreviated" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a>
<a class="moz-txt-link-freetext" href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Delphi mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a>
<a class="moz-txt-link-freetext" href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a>



  </pre>
</blockquote>
</body>
</html>