Event Logging via ReportEvent API
I'm trying to get NT Event Logging going via the Report Event API. I have
a Message File which I know to be OK because my C code uses it fine (via
Calling ReportEvent from VB6 (SP3) though for an Event ID which I know to
be valid (5), I get the following string in the log...
The description for Event ID ( 5 ) in Source ( NT-Log Monitor ) could not
be found. It contains the following insertion string(s): .
I have not specified any insertion strings to use as the Message whose ID
is 5 in the file, has no replacement strings. It is constant text.
Do I need to add some magic number to my EventId perhaps or am I missing
something really basic?
Thanks in advance.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL