Code: Select all
TGIFImage* getimg = new TGIFImage (*mainfrm->Emoty->GetEmotiokon(img));
//TGIFImage* getimg = new TGIFImage ();
//getimg->LoadFromFile("baby.gif");
if(getimg)
{
RichView->AddPictureExTag(img, getimg, -1, rvvaBaseline, 0);
}
If I load image from the disk each time (comments in code) no errors when Clear() calls.
Why I have that errors (EAccesViolation) and how to solve this?
Thanks, Jacek.