ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save stream to BLOB field Access Violation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DELPHISTEVE

USA
0 Posts

Posted - Nov 16 2020 :  07:23:33  Show Profile  Reply
Please review the attached jpg file, and Thanks for any help.

Steve Wagner
Instamation Systems Inc.




Steve Wagner

xequte

5679 Posts

Posted - Nov 16 2020 :  17:13:10  Show Profile  Reply
Hi Steve

1. You should reset MyStream.Position *after* saving to the stream.
2. Is Dataset.FieldByName() returning a valid field?
3. What is blobField? Why is it not, ...As TBlobField?
4. You might also consider using a TIEDBBitmap:

https://www.imageen.com/help/TIEDBBitmap.Write.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: