CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    how to implement event logs?

    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



  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: how to implement event logs?


    Visit microsoft's msdn online (the october issue doesn't have this)...

    http://msdn.microsoft.com/library/ps...ntlog_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
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured