Event Logging is a Windows service that can be used to record system, security, and program events in the event logs. Windows includes three types of event logs:
System event log
Security event log
Application event log
The System and Security event logs are used by the operating system, and the Application event log is used by application programs.
DirectScript has its own Event Logger. All events logged by the DirectScript Event Logger are put under the Application event log.
Also, Windows imposes a restriction that all messages displayed as an event description must be stored in a resource-only Dynamic-Link Library (DLL). This DLL should have a predefined standard format.
To log an event using the DirectScript Event Logger object, do the following: