Hi,

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
ReportEvent).

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.

Andrew Shaw
(andrew.shaw@auspost.com.au)