GetFieldAsPicture -> MemoryLeak
Hello,
FastMM4 show me some MemoryLeaks.
I have a simple App with a ppReport component and a ppJITPipeline with a
graphic field. Now I would like to assign a Jpg to the fields value
function TDMPrint.ppPipelineBilderGetFieldAsPicture(aFieldName: String):
TPicture;
begin
Result := TPicture.Create;
end;
After that I get the memory leak message...
Any Suggestions?
RB: 10.09
Delphi 2007
FastMM4 show me some MemoryLeaks.
I have a simple App with a ppReport component and a ppJITPipeline with a
graphic field. Now I would like to assign a Jpg to the fields value
function TDMPrint.ppPipelineBilderGetFieldAsPicture(aFieldName: String):
TPicture;
begin
Result := TPicture.Create;
end;
After that I get the memory leak message...
Any Suggestions?
RB: 10.09
Delphi 2007
This discussion has been closed.
Comments
Create an FPicture private field for the form. In the OnCreate, create the
FPicture instance and in the OnDestroy, destroy the instance.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Is it the default procedure to handle pictures with JITPipeline?
about this...
http://www.digital-metaphors.com/rbWiki/Data_Access/JIT_Data/OnGetPicture_Event
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The link does not work. The wiki is down?
access to port 8080 from your location.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com