Finally worked out my problem with Windows Events

For a while now I've been trying to use Windows Events as my logging framework, but I have suffered from one seemingly fatal problem: if my application terminated unexpectedly (thus ungracefully), my session was left open, and I was seemingly unable to stop it or re -enable providers against it. This was beginning to make … Continue reading Finally worked out my problem with Windows Events

A Quick and Dirty tutorial on Event Tracing For Windows: Part 1 the Event Trace Session

[EDIT 4 September 2010] Thanks to David M for pointing out an error in my code. When starting an ETW session you should pass in the session name not the log file name. See the correction (in bold) in the LoggingController::Start member function below. [/EDIT] So, Windows Events, its the new Logging API for Windows … Continue reading A Quick and Dirty tutorial on Event Tracing For Windows: Part 1 the Event Trace Session