> Last year we applied a patch to version 4.05 to fix memory leaks. This
> was just a matter of applying 
> 
> if QRPrinter <> nil then QRPrinter.free; 
> to 
> Destructor TCustomQuickRep.Destroy;
> in quickrpt.pas and recompiling .
> 
> Now, why I mention this is during debugging it seems to be 
> here that the
> error is caused when exiting the program.

Maybe your composite report object (or unit) is now also freeing it on
program exit?  Just a WAG, but try changing that line to:

  if QRPrinter <> nil then FreeAndNil(QRPrinter);

Worth a crack.

Cheers,
Carl

<<attachment: winmail.dat>>

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to