šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11806

Re: Writing to the program log

#11806
From: Remy Lebeau (TeamB)
Date: Thu, 15 Jan 2004 17:59
12 lines
1289 bytes
"Mattias" <mm@mm.se> wrote in message
news:4006b767$1@newsgroups.borland.com...

> Iļæ½m trying to log from a Service so I need to write to the
> Windows Program log.

If you are using the VCL's TService class, then simply call its LogMessage()
method, it already does what you are asking for.


Gambit
Technical Details
Message-ID: <4006d398$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4006b767$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,fb0c907817c6687c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-15 10:10:50 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4006b767$1@newsgroups.borland.com>
Subject: Re: Writing to the program log
Date: Thu, 15 Jan 2004 09:59:43 -0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <4006d398$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074189208 67.22.138.253 (15 Jan 2004 09:53:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail