I开发者_如何转开发s there a way that I can get EventLog logs like stream(real-time) with C++, I mean to get log as soon as event happens?
NotifyChangeEventLog
And for Windows Event Log, see this article about how to subscribe to events and be called back when an event is raised.
精彩评论