[Win32utils-devel] Tweak to win32-eventlog
djberg96 at gmail.com
Sun Dec 17 07:04:19 EST 2006
Wayne Vucenic wrote:
>> If the event log happens to have 10 or fewer event records, they will
>> fail, so I'm guessing that's what happened here.
> I thought about that, which is why I tried the two test cases which
> don't pass the 10 parameter. And in any event (no pun intended), my
> Application event log has 2500 event records (as reported by Windows'
> Event Viewer) and my System event log has 1900 event records.
>> These tests pass on my system.
> Which OS are you using? They work for me on Win2K. They fail on XP
> SP2 and they fail in a different way on NT4 SP6 (but I'm assuming you
> don't support NT4, which is quite reasonable)
Windows XP SP2.
> You are quite correct that if the event log has 10 or less records,
> the same tests fail as failed in my case. But I'm pretty sure these
> are two different situations that simply happen to produce the same
Please do me a favor and backup the event log that's causing you
problems and send it to me offlist. I have a couple of theories - could
be a record number issue, could be a buffer issue - but I'm not positive.
More information about the win32utils-devel