PRB: Description for Event ID Could Not Be Found

ID: Q129003

2.00 3.50 WINDOWS NT kbprg kbprb

The information in this article applies to:

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:

1. Run MAKEMC.BAT first. MAKEMC.BAT creates the MSG00001.BIN, MESSAGES.RC,

   and MESSAGES.H files.

2. Open Visual C++ version 2.0 and add MESSAGES.RC to the MESSAGES project
   (MESSAGES.MAK).

3. 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 reference words: 3.50 3.51 4.00 Event Logging Log MSDN KBCategory: kbprg kbprb KBSubcategory: BseMisc

Keywords          : kbnokeyword kbKernBase kbGrpKernBase 
Version           : 2.00 3.50
Platform          : NT WINDOWS

Last Reviewed: December 18, 1996