2

.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++?

3 Answers 3

1

Yes. It's documented in the Event Logging section on MSDN.

http://msdn.microsoft.com/en-us/library/aa363652%28VS.85%29.aspx

Sign up to request clarification or add additional context in comments.

Comments

0

I think you want Event Tracing for Windows: http://msdn.microsoft.com/en-us/library/bb968803(VS.85).aspx

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.