Page 1 of 1

Read LONGBLOB Data

Posted: Wed 23 Feb 2022 22:00
by roky009
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