Pdf-export hangs with latest update

Hello,

I was on the latest previous version of version 6 until a few days ago.
Today I upgraded to the latest version.

The code that ran perfectly in Unigui now hangs.
This is the code:

procedure TSc_vw_reports.PrepareAndShow(Report: TfrxReport; Exp: TfrxPDFExport);
var AUrl : string;
begin
Report.PrintOptions.ShowDialog := False;
Report.ShowProgress := false;

Report.EngineOptions.SilentMode := True;
Report.EngineOptions.EnableThreadSafe := True;
Report.EngineOptions.DestroyForms := False;
Report.EngineOptions.UseGlobalDataSetList := False;

Exp.Background := True;
Exp.ShowProgress := False;
Exp.ShowDialog := False;
Exp.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', '', '', AUrl, True);
Exp.DefaultPath := '';

Report.PreviewOptions.AllowEdit := False;
Report.PrepareReport;
Report.Export(Exp);

PdfFrame.PdfURL := AUrl;
end;

Now it hangs on Report.Export(Exp), no error message, nothing.

Any suggestions?

Thx,
Bernaert Dominique

Comments

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.