Icon View Incident Report

Minor Minor
Reported By: Mark Bracey
Reported On: 12/11/2005
For: Version 4.22 Build 2
# 2144 LoadFromStream Not Reporting Progress Correctly

I've had this for a while, I just never bothered to report it, Ijust fix it on each new release.

What?

Range Check Error/Overflow on TempPercentDone : Word

Where?

unit dbisamen.pas

Method

procedure TDataCursor.LoadFromStream(SourceBuffer: PChar;

Line 32522

TempPercentDone:=Trunc(((SourceBufferSize/LoadPos)*100));

The line should be:

TempPercentDone:=Trunc(((LoadPos/SourceBufferSize)*100));



Resolution Resolution
Fixed Problem on 12/12/2005 in version 4.22 build 3


Products Affected Products Affected
DBISAM VCL Client-Server
DBISAM VCL Client-Server with Source
DBISAM VCL Standard
DBISAM VCL Standard with Source

Image