oliveagle / winsvc

Automatically exported from code.google.com/p/winsvc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Support EventLog.EntryWritten event? #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How hard would it be to support callbacks for watching an event log? I'd like 
to be able to do the example here:

http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog.entrywritten
(v=vs.110).aspx

with this package. I'm willing to work on this, but was curious how hard you 
think it will be from "just add a few functions to the winapi package" to 
"really hard due to the callback nature of this functionality". In any case, 
it'd be great if I didn't have to write a .net program here.

Original issue reported on code.google.com by matt.jib...@gmail.com on 19 Dec 2014 at 9:04

GoogleCodeExporter commented 9 years ago
I am not familiar with that functionality. So I need to know exactly what you 
want.

Small C program to demonstrate what you want would help. C# is not useful, 
because I don't get to see all real code that runs behind the scenes. If you 
could do the same in C with simple Windows APIs, I will try translate it into 
Go.

Alex

Original comment by alex.bra...@gmail.com on 20 Dec 2014 at 1:14