Notify Events When Event log is Full
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Notify Events When Event log is Full

  1. #1
    Join Date
    Jul 2009

    Post Notify Events When Event log is Full


    I have written an application to get notified when any event is written to Application Log.When the code notifies I collect the recently written events and put them in a text file. ( I have reffered the to develop this application)

    But when Application log is full the code is still waiting for an event to occur and never notifies.

    The question is that whether the NotifyChangeEventLog() function notifies if an Application Log is full.

    Is this the default behaviur of the notifyChangeEventlog() function?.If it is so is there any thing that I can do to handle this situation.

    Please help me in solving this.

    Thanks in advance

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004

    Re: Notify Events When Event log is Full

    A couple of options:

    1) Change the log size to a larger log and set the log to overwrite as needed.
    2) [If running Vista 2008 Server] Leverage the functionality of the Windows Event Collector Service.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center