Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 21867, Another IBX Bug

by Clelson Luiz Camargo Email: Anonymous


IBX Blob Stream.Size doesn't work right.
Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 7.0 5 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Sat, 19 Jun 2004 18:13:13 GMT
Originally uploaded on Sat, 19 Jun 2004 18:09:43 GMT
Description
try this:

Stream := IBXDataSet.CreateBlobStream(IBXBlobField, bmRead);
try
CRC := CrcCalc(Stream); // A function that read stream from begin to end.
Size := Stream.Size; // Seens to works right there.
finally
Stream.Free;
end;

and try this then:
Stream := IBXDataSet.CreateBlobStream(IBXBlobField, bmRead);
try
Size := Stream.Size; // Don't work.
CRC := CrcCalc(Stream); // Because Size does not restore the original position.
finally
Stream.Free;
end;

And I work... and work...

thanks if someone correct this.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03