Tue Sep 21 09:01:05 2010: Request 61484 was acted upon.
Transaction: Correspondence added by DOLMEN
       Queue: Win32-EventLog
     Subject: missing results with Win32::EventLog
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: p...@sennovation.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61484 >


My solution above was a workaround.

However there is a real bug in the Win32::EventLog code.
The lpEvtLog->CurEntryNum member is incorrectly incremented in
ReadEventLog. It should be incremented by just 1 instead of LogBuf->Length.

See
http://code.google.com/p/libwin32/source/browse/trunk/Win32-EventLog/EventLog.xs#351

-- 
Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/

Reply via email to