This directrory contains an application that generates sample
events in the application section of the Event Log. 

Run the INSTSRC program in the CH15 directory. This will
install the proper source information in the registry. A
typical call might look like this:

   instsrc logevent c:\code\ch15\logevent\logevent.exe 2

Adjust the path to LOGEVENT.EXE so it is appropriate for your system.

Open the Event Log application by double-clicking on the Event Viewer
icon in the Admintstrative Tools Group of the Program Manager.
Go to the Application section using the Log menu. 

Now compile and run LOGEVENT in this directory. Choose the
Refresh option in the View menu of the Event Viewer and you
will find two new events. Double-click on both to see the
events.

If the events appear in the log but the descriptions are not
available, it means that the INSTSRC command was entered 
incorrectly. Check it and reenter. Close and restart the
event log application as well so that it re-reads the 
registry information.
