[DUG] Windows Services
Jeremy Coulter
vss at vss.co.nz
Wed Nov 22 16:49:26 NZDT 2006
its the old windows services permissions issue.
All you need to do is run the service as someone with administrator rights,
or atleast with read access to the folder where the ini file is stored, and
you should be ok.
Jeremy
_____
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Eion McIntosh (Christchurch)
Sent: 22 November 2006 16:39
To: delphi at ns3.123.co.nz
Subject: [DUG] Windows Services
Hi
I am creating a new windows service for checking if some specific programs
are running. When the service starts I want to read in a ini file with a
list of programs to look for, but I am getting an Error 5 Access Denied when
is starts.
Can you read of text file for a service program and if so were should it be
stored to be read? I've tried it under the WinNT and System32 and C: but
still am getting the error? Running on Win2k.
Regards
Eion McIntosh
PPCS Ltd
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.12/544 - Release Date: 21/11/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.12/544 - Release Date: 21/11/2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20061122/6e7530b0/attachment-0001.html
More information about the Delphi
mailing list