Search some on the net, with stream or blobstream stream file read and write, test, suggests that "invalid streaming media format,"
Thank you very much!!
CodePudding user response:
TblobField (adoquery1 FieldByName (' jj ')). The LoadFromFile ();TblobField (adoquery1 FieldByName (' jj). SaveFromFile ();
CodePudding user response:
Turn to me!For I:=0 to do EmployeeRecordCount - 1
The begin
TBlobField (FieldByName (' Tface1).) SaveToStream (tempStream);
CopyMemory (@ the Employee [I] faceTemplates [0]. Ftemplate, tempStream. Memory, 16384);
TempStream. The Clear;
TempStream. SetSize (16384);//set the flow size
TempStream. Free;//release flow