Read LONGBLOB Data

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
roky009
Posts: 5
Joined: Tue 30 Jul 2013 12:37

Read LONGBLOB Data

Post by roky009 » Wed 23 Feb 2022 22:00

Hello,

I got error message for GetBlob as follows:

Project.. raised exception class EAssertionFailed with message 'Assertion failure (D:\....\MemDS.pas, line 2464)

My codes are
TMemoryStream* str = new TMemoryStream();
uniQuery1->GetBlob("Imagefieldname")->SaveToFile("D:\\test..."); // for LONBLOB type

I'm using C++ Bilder (RAD Studio 10.4), MySQL 5.7, UniDAC 9.1.1

thank you in advance

Post Reply