windows xp - Trouble extending event log messages -
I am trying to add some extended error code to the event log but I get the following error.
The description of event ID (109) was not found in the source (PumpServer). To display messages from a remote computer, the local computer may not have the required registry information or message DLL files. You may be able to use the AUXSOURCE = flag to get this description; See Help and Support for details The following information is part of the event: The event log file is corrupt.
The message file looks like this and I finally added one: -
& lt; --- Snip --- & gt; MessageId = SymbolicName = EVMSG_BADREQUEST language = English service received an unsupported request. MessageId = Symbolic name = EVMSG_DEBUG language = English% 1 MessageId = SymbolicName = EVMSG_STOPPED language = English service was discontinued. . MessageId = SymbolicName = EVMSG_INVALIDLICENCE language = English service does not have a valid license. initialization failed. .
It compiles precisely the MC program is running on this file and prepares a header file of the same name with my new message ID.
// // MessageId: EVMSG_INVALIDLICENCE // // MessageText: // // Do not have a valid license in service Start failed. // #define EVMSG_INVALIDLICENCE 0x0000006DL
Any idea why not searching my message? All other work.
Ensure that you are linking to the resource file generated by MC Compiler.
Comments
Post a Comment