Is there a way to write to the windows event log in C?

Viewed 7968

I have a requirement to modify a simple windows service written in win32 C (not c++).

Is there a library I can use to write event log entries to the windows event log without using eventcreate.exe? Or do I have to modify it to be compiled as a c++ program?

1 Answers
Related