Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

AV using RBuilder inside DLL

edited December 2004 in General
I would like to use Report Builder inside an ISAPI DLL running in IIS.
When I do so I get an AV.
The same code runs fine in an exe - prints out to an html file.
Using D6 and Rbuilder 7.03 with TExtraDevices

Gerald

Comments

  • edited December 2004

    --------------------------------------------
    Article: ReportBuilder and Web Applications
    --------------------------------------------

    There are two basic approaches to using ReportBuilder to implement web
    applications.

    1. ReportBuilder Server Edition

    Live Demo: www.digital-metaphors.com/RBServerLive

    Features:
    http://www.digital-metaphors.com/Subpages/Products/Server/Features.html


    ReportBuilder Server Edition contains the most comprehensive,
    productive,high performance solution available. The Server Edition enables
    you to build a multi-tier web solution within a few hours of installating
    the product. Spend an afternoon with the trial version to evaluate it. The
    Server has the ability to incrementally generate pages on demand and the
    WebTier performs session management, caching, and generates a high quality
    xhtml/javascript
    report previewer.

    The demos included with RB Server Edition contain examples of using the RB
    Server's WebTier component within Delphi Web Broker apps: ISAPI, ASP .Net,
    Apache.


    2. Build your own

    The other approach to implementing publishing reports to the web is to use
    any of the ReportBuilder Editions to impelement your own web solution.

    a. Make sure that you provide a thread-safe container for the report to
    execute. (See the online topic for Report.BackgroundPrintSettings, it
    contains some good information about thread safety).
    b. Make sure that no dialogs are displayed by the report (i.e. set
    Report.ShowPrintDialog, ShowCancelDialog, etc to False.
    c. Set Report.EnableProcessMessages to False.
    d. Start with a simple, non databased report that contains perhaps a single
    label and then incrementally build from there.

    The simplest solution to implementing your own server is to generate the
    reports to PDF return them (or a link to them) to the web browser. A more
    complex solution would involve creating a custom report viewer as is done by
    ReportBuilder Server Edition:

    www.digital-metaphors.com/RBServerLive




    --

    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.