#2 PDF Engine » FastReport SynPDF export and encryption issue » 2017-04-11 07:58:16

gsunr
Replies: 0

Hello,
I have issue when exports to pdf with password protection.
When encryption is enable, there is invalid pointer operation with freeing memory in

destructor TPdfArray.Destroy;
var i: integer;
begin
  for i := 0 to FArray.Count-1 do
    TPdfObject(FArray.List[i]).Free;
  FArray.Free;
  inherited;
end;

see sample project from https://drive.google.com/open?id=0B8fyc … zdLSjNDaVU

Simply push Print button, next PDF icon and put user and owner pass in Security tab.
frxSynPDFExport is slight modified.

Board footer

Powered by FluxBB