PRB: Description for Event ID Could Not Be Found
ID: Q129003
|
The information in this article applies to:
-
Microsoft Win32 Application Programming Interface (API), included with:
-
Microsoft Windows NT, versions 3.5, 3.51, 4.0
-
Microsoft Visual C++, 32-bit Editions, version 2.0
SYMPTOMS
After building and executing the Win32 LOGGING sample that accompanies
Visual C++ version 2.0 and the Microsoft Developer's Network Library CD,
you find that the descriptions for the logged events contain the following:
The Description for Event ID (#) in Source (application name) could not
be found. It contains the following string(s):
CAUSE
The resource file containing the descriptions that correspond to the Event
IDs are not bound to the MESSAGES.DLL.
RESOLUTION
Add the MESSAGES.RC file to the Visual C++ version 2.0 project:
- Run MAKEMC.BAT first. MAKEMC.BAT creates the MSG00001.BIN, MESSAGES.RC,
and MESSAGES.H files.
- Open Visual C++ version 2.0 and add MESSAGES.RC to the MESSAGES project
(MESSAGES.MAK).
- Rebuild both the MESSAGES and the LOG projects.
NOTE: If you ran the sample a couple of times from different places, you
may need to delete the LOG registry key if it contains an incorrect
location for the MESSAGES.DLL file.
Additional query words:
3.50 Event Logging Log MSDN
Keywords : kbnokeyword kbKernBase kbGrpKernBase
Version : winnt:2.0,3.5,3.51,4.0
Platform : winnt
Issue type :