CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  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 http://msdn.microsoft.com/en-us/libr...77(VS.85).aspx 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

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.