someone may have an easier way.. but..
first off - does the user you are trying to write to event log with:
1. have the "Manage auditing and Security log" user right
2. SeAuditPrivilege - local system and network service by default have that
only
secondly.. you could look at other routes as well
The entire context of this post is in an attempt to get code to write an
entry to the Security event log (it's a a requirement on our software in
certain cases). The story takes some twists and turns, so it may appear to
go off-track. For that, I apologize in advance. I'm looking for guidance
to