Hello,

I want to create a new Event log to the windows service EventLog and add new logs to it.
By default,the event logs are Application,System and Security but I want to
add a new one.

I could successfully add logs to the Application event log using
RegisterEventSource and ReportEvent functions but I could not find how
to create a new Event log. All the forums discuss this issue using .NET
framework, but I do not want to add the libraries of the .NET.

How can I add a new event log using ONLY mfc?

Thank you in advance!