Reputation: 3592
.NET provides EventLog class that be able to write application event information to a particular log on the system. Is there simliar Win32 API that can be called with C++?
Upvotes: 2
Views: 710
Reputation: 4906
Yes. It's documented in the Event Logging section on MSDN.
http://msdn.microsoft.com/en-us/library/aa363652%28VS.85%29.aspx
Upvotes: 1
Reputation: 5537
That would be the Windows Event Logging API for Vista and later: http://msdn.microsoft.com/en-us/library/aa385780%28VS.85%29.aspx
Or for pre-Vista, you want the just-plain Event Logging API: http://msdn.microsoft.com/en-us/library/aa363652%28VS.85%29.aspx
Upvotes: 0
Reputation: 1292
I think you want Event Tracing for Windows: http://msdn.microsoft.com/en-us/library/bb968803(VS.85).aspx
Upvotes: 0