Try
Application.LogMessage(...);
In a service app, application is TServiceApplication and it support event
logging - mostly.
"Tony Goodrich" <[EMAIL PROTECTED]> on 10/05/99 07:46:16
Please respond to [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc: (bcc: Peter Jones/Logistics&Information
Technology/Christchurch/Foodstuffs)
Subject: Re: [DUG]: NT Services and D4 Proff. (and Event Logging)
We used Delphi4 C/S to write a NT Service which also used Event Logging.
The new components worked but there seems to be no support for the event
logging side which is a shame because event logging goes hand in hand with
services.
Many man hours were spent on our small solution and really the hardest part
was understanding microsofts documentation ;-( and then in realising that
Borland were only giving a helping hand and not a solution with their
components.
regards Tony Goodrich
-----Original Message-----
From: Jeremy Coulter <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Friday, 7 May 1999 13:58
Subject: [DUG]: NT Services and D4 Proff.
>Hi all.
>
>I was looking up about NT Services in the D4 help file, and it gave an
>example of how to create one.
>Now only the C/S version has the ability to create an NT Service
Application
>from the File New menu.
>
>But I noticed that the files defined in the example existed on my machine,
>so I tried it out, but had no success.
>
>Has anyone been able to create an NT Service with D4 using the new units
>etc. that are provided to assist in creating NT Services ????
>
>
>Cheers, Jeremy Coulter
>--------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz