Hello everyone, i get a problem with memory.
I load a background picture to my report with : fLLDB.LL.LlDefineVariableExtHandle('Report.Hintergrund', background.Handle, LL_DRAWING_HBITMAP);
I generate PDF file with background, than I set background pic to invisible and generate another one PDF file without background
So i call 2 times
fLLDB.LL.AutoDestination := adExport;
fLLDB.ExportType := ftPDF;
fLLDB.ExportFile := '.\tmp\test_1.pdf';
fLLDB.print();
fLLDB.back := false;
fLLDB.ExportFile := '.\tmp\test_2.pdf';
fLLDB.print();
The memory is not released after i do :
FreeAndNil(background);
But if i export only 1 PDF-File memory will be released.
I find out that memory size that not released is the size of background picture