On Thu, 24 Jul 2014, Juha Manninen wrote:

On Thu, Jul 24, 2014 at 4:10 PM, Virgo Pärna <[email protected]> wrote:
    You are running that "cleandir.exe -i" form cmd Window? Did you start cmd 
with
"Run as Administrator"?

Yes. Actally the service version is "cleandirs.exe" (with "s"). There
is also a cmd line program "cleandir.exe".

    I created a Windows service just resently with Lazarus and it works.

Strange.
I believe it is a permissions problem but I have no idea how to fix it.
I will use now the FPC daemon class, it works.

Out of curiosity: which class is that ?

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to