Delphi XE5 x64 Export PDF

edited December 2014 in FastReport VCL 5
In Delphi XE5:
Creating a simple new VCL project and add a PictureView with a image *.BMP or BarCode.

When I export to PDF generates an access violation.

Occurred after upgrading to version 5.1.11,
Today we installed the 5.1.12 version and the problem continues.

Some can help me?
Thank you.

Comments

  • gpigpi
    edited 9:39PM
    Modify frxExportPDF.pas:
    Write(pdf, 'stream'#13#10); // 'stream'#10 is also valid
    if FProtection then
    CryptStream(XObjectStream, pdf, FEncKey, XObjectId)
    else
    pdf.CopyFrom(XObjectStream, 0);
    Write(pdf, #13#10'endstream'#13#10);
    Inc(FPicTotalSize, XObjectStream.Size);
    Writeln(pdf, 'endobj');
    end;
    finally
    XObjectStream.Free;
    if IsAlpha = True then XMaskStream.Free; //change this line
    end;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.