Article View: borland.public.cppbuilder.nativeapi
Article #12943ReportEvent api
From: Mike Collins
Date: Sat, 08 Nov 2003 01:29
Date: Sat, 08 Nov 2003 01:29
18 lines
1651 bytes
1651 bytes
Hi all, pretty sure this must have been posted and answered before but I can't find it so here goes. Does anyone have any simple, practical examples of using the RepostEvent api to place entries into the Windows Log File. Is it possible to use this api without have to create a message resource file (as described @ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_ntservic.asp) I've coded a basic implimnetation but my message never appears in the log and I don't get any errors returned or displayed by GetLastError!! I wish I was using a service as this seems to encapsulate the event writing perfectly :-) Any help would be cool, Thanks in advance, Mike
Technical Details
Message-ID:
<3fac4142@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b799f6aac84a0ff5,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-07 17:09:16 PST Reply-To: "Mike Collins" <mikec@kr8.co.uk> From: "Mike Collins" <mikec@kr8.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: ReportEvent api Date: Sat, 8 Nov 2003 01:29:43 -0000 Lines: 20 Organization: kr8 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: 81.2.78.34 Message-ID: <3fac4142@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068253506 81.2.78.34 (7 Nov 2003 17:05:06 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail