My thoughts exactly.
Actually, there is another thing you need to do that I forgot to mention and
that is you must setup the registry entries. I do this in the service
startup code thus:
reg.SetValue('EventMessageFile', Application.ExeName);
reg.SetValue('TypesSupported', 7);
Where reg is
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\SvcName
>From: "Dave" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
>Subject: Re: [DUG]: Service.LogMessage
>Date: Sun, 21 Nov 1999 12:15:42 +1300
>
>Thanks Peter,
>
>What a pain in the arse... Why can't we just pass the information required
>in the call :-(
>
>Dave.
>
>---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz