Icon View Incident Report

Serious Serious
Reported By: Mark Brooks
Reported On: 9/21/1998
For: Version 1.04 Build 1
# 221 Access Violation During Blob Open in Delphi 4 Data Access Components

I am, however, experiencing one problem with respect to getting data into blob fields. I have written the following code:

if dlgOpen.Execute then
with tblMain do
begin
Append;
try
tblMainDescription.Value := dlgOpen.Filename;
tblMainImage.LoadFromFile(dlgOpen.Filename);
Post;
except
Cancel;
end;
end;

- where dlgOpen is a Picture Open Dialog, tblMain is my table, tblMainDescription is a string field to hold the description of a file and tlbMainImage is a blob field to hold a picture file's contents.

Basically, the LoadFromFile statement always generates a GPF - any ideas?


Comments Comments
Problem was with a change made in the 1.04 update that incorrectly referenced the wrong record buffer pointer. Problem was only in the Delphi 4 version support, not the Delphi 1, 2, or 3 support.


Resolution Resolution
Fixed Problem on 9/21/1998 in version 1.05 build 1
Image