Why am I *not* getting messages about an unknown event ID?

Why am I *not* getting messages about an unknown event ID?

Post by Peter Smit » Wed, 29 Nov 2006 00:58:00


Hello,

I'm aware of message DLL's that you create from .mc files. With those
you don't get the strange message in event viewer about unknown event
ID's. ("The description for Event ID ( 0 ) "..."cannot be found" etc.)

My application doesn't have a DLL so, of course, I get those messages.

But - on the PC where I develop, I don't get the message! How come?

Any ideas?
 
 
 

Why am I *not* getting messages about an unknown event ID?

Post by Bruno van » Wed, 29 Nov 2006 02:27:38

> I'm aware of message DLL's that you create from .mc files. With those

Logic dictates that you have a dll on your system that does have a
description of those messages.
What are the messages, and what version of VC is installed.
It could be that those dlls are part of visual studio for example.

--

Kind regards,
Bruno van Dooren
XXXX@XXXXX.COM
Remove only "_nos_pam"

 
 
 

Why am I *not* getting messages about an unknown event ID?

Post by Peter Smit » Wed, 29 Nov 2006 19:15:58


Or that there's another way of letting the event viewer know what the
messages are for that binary?

I did check the registry to see if the relevant registry entries were
there. Thinking that perhaps Visual Studio was creating message
information and embedding it in the binary somehow. But there's
nothing there.

(I got the registry location information from
http://www.yqcomputer.com/ )


I'm using Visual Studio 2003.

The messages are -

The description for Event ID ( 0 ) in Source ( SigmaSvr ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Service started.

The "Service started" bit is coming from

LogEvent(_T("Service started"));

In atlbase.h

Strange thing is that today I'm getting that event log message on my
development PC! I did un-install and re-install the product as I was
testing an install script. Now I can't get it back to saying -

SigmaSvr: Service started.

like it used to.

There are no .mc files on my hard drive so it's not as if I've at
some point created a message file and set it up and then forgotten.

Maybe I should just forget about the "problem" I had yesterday and get
on with doing a message file.

Thanks.

Peter