XE7 Error Access Violation when insert image to BLOB field by Firedac .
XE7 Error Access Violation when insert image to BLOB field by Firedac . #androidapps #sqlite3 #xe7 #Tmemorystream
It worked on XE6.
sample script.
LStream := TMemoryStream.Create;
Image1.Bitmap.SaveToStream(LStream);
SQLUpdate.ParamByName('Image').LoadFromStream(LStream, ftBlob);
Anyone can suggust?
Thanks.
It worked on XE6.
sample script.
LStream := TMemoryStream.Create;
Image1.Bitmap.SaveToStream(LStream);
SQLUpdate.ParamByName('Image').LoadFromStream(LStream, ftBlob);
Anyone can suggust?
Thanks.
Comments
Post a Comment