View Issue Details

IDProjectCategoryView StatusLast Update
0005436JEDI VCL00 JVCL Componentspublic2011-06-07 17:19
ReporterKiPSOFTAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.38 
Target VersionFixed in Version 
Summary0005436: JvNTEventLog Eof Problem
DescriptionHi;

JvNTEventLog Eof not correct return.

Example 1:

Event Record Count 50452
I:=0;
JvNTEventLog1.First;
while not JvNTEventLog1.Eof do
begin
  JvNTEventLog1.Next;
  Inc(I);
end;

this example last I value 26759

example 2:

I:=0;
JvNTEventLog1.First;
while I<JvNTEventLog1.EventCount do
begin
  JvNTEventLog1.Next;
  Inc(I);
end;

this example last I value 50452 this correct

in component;

 Result := (EventRecord.FCurrentRecord = nil) or (EventRecord.RecordNumber = GetEventCount) or
    (FLastError = ERROR_HANDLE_EOF);

EventRecord.RecordNumber equal GetEventCount but not eof event records.
TagsNo tags attached.

Activities

obones

2011-02-15 13:46

administrator   ~0018346

Please provide the zipped sources of a sample application showing this.

KiPSOFT

2011-02-19 17:37

reporter   ~0018392

last update my jedi and my problem solved. thanks.

Issue History

Date Modified Username Field Change
2010-12-05 05:53 KiPSOFT New Issue
2011-02-15 13:46 obones Note Added: 0018346
2011-02-15 13:46 obones Status new => feedback
2011-02-19 17:37 KiPSOFT Note Added: 0018392
2011-06-07 17:19 obones Status feedback => resolved
2011-06-07 17:19 obones Resolution open => fixed
2011-06-07 17:19 obones Assigned To => obones