Running FR in a DLL to generate PDF

AdamAdam London
edited 5:58PM in FastReport 4.0
I want to build a DLL which would run from time to time on a web-server. It would be called by a database engine, which can easily call dll, but less easily call EXE, this is the reason for choosing DLL not EXE.

When I make a standard FR project in a DLL I get multiple error messages, as the FR components use visual parts of windows, and these are not available for DLL.

I do not need the designer, or to display the report just:

1. Run SQL Query.
2. Pass dataset to Report and run the report.
3. Export the resulting report (without previewing) to PDF file.

Is there an easy way to do this with FR?

Thanks in advance.

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.