Re: [python-win32] Python parser for Windows Event Logs

2009-07-16 Thread Tim Roberts
Tony Cappellini wrote: > I've added the While loop Mark suggested but still see the same issue. > GetNumberOfEventLogRecords() still returns 6 events, > However the object returned from ReadEvenLog() still only contains 3 objects > The next call to ReadeventLog() returns None > OK, in my test,

Re: [python-win32] Python parser for Windows Event Logs

2009-07-16 Thread Tim Roberts
Tony Cappellini wrote: > I've added the While loop Mark suggested but still see the same issue. > GetNumberOfEventLogRecords() still returns 6 events, > However the object returned from ReadEvenLog() still only contains 3 objects > The next call to ReadeventLog() returns None > ... > > Would any

Re: [python-win32] Python parser for Windows Event Logs

2009-07-16 Thread Tony Cappellini
I've added the While loop Mark suggested but still see the same issue. GetNumberOfEventLogRecords() still returns 6 events, However the object returned from ReadEvenLog() still only contains 3 objects The next call to ReadeventLog() returns None flags = win32evtlog.EVENTLOG_BACKWARDS_READ|win32ev