[python-win32] Python parser for Windows Event Logs
Tim Roberts
timr at probo.com
Fri Jul 17 19:56:12 CEST 2009
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
>
I tried to send this in a private email, but Google's fascist mail
server evidently will not allow zip attachments.
http://timr.probo.com/testevt.zip
This zip contains a C++ program that does basically what my Python
program does. Try running this on your .evt file (with a command line
like "testevt xxx.evt") and see if it reads all 6 messages. If it only
gets 3, then there is some fundamental issue below the Python stuff.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list