Hooking into Event Log writes
Posted on 2001-09-05
Can anyone point me in the right direction as to how to write a VB program which is notified every time an event is written to the System or Application Event Logs by any application (Windows NT 4/2000) ?
This program would sit idle until it was notified that something had been written. Ideally the notification would contain all the info that was written to the event log so that the log itself would never need to be opened?
Can this be achieved by intercepting the OS ReportEvent function in some way?