Click to See Complete Forum and Search --> : how to implement event logs?


sriky
February 4th, 2000, 10:36 AM
I have an MFC dll that implements event logs. It has features like filtering, sorting,...etc. I need to implement this in vb.

I called c dll functions that simply return a value before, but never worked with something like event logs. How is it possible to call it from vb? It has to work similar to that in vc.

Any guidance in this regard is appreciated.

Thanks

Johnny101
February 4th, 2000, 11:25 AM
Visit microsoft's msdn online (the october issue doesn't have this)...

http://msdn.microsoft.com/library/psdk/winbase/eventlog_2hif.htm

It has info on an API called ReadEventLog which you call after you use another API called OpenEventLog.

Hope this helps a little,
John

John Pirkey
MCSD
www.ShallowWaterSystems.com