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

RAP procedures PlugIns.

edited October 2003 in RAP
Hi,

I have Report Designer developed using Report Builder 6.03. This Designer is
used by several customers.
For implementation of some reports we need to create specific RAP
procedures (we cannot to do it in Report Events).
As result we have RAP procedures needed for one customer, but not needed for
all other.

Question: If it possible to implement RAP procedures in different module
(.dll or .ocx) and load these
procedures at run-time from created module?
It allows send to customer only needed for him reports RAP procedures
library.

Thanks.

Comments

  • edited October 2003

    Have not tried it, but it should be doable. Compile the RAP procedures into
    a separate package and then write code to load the package. See the Delphi
    help for the LoadPackage function.

    When the package loads, any Initialization sections for the contained units
    will fire. The RAP procedures can then register themselves with rAP.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2003
    This is an excellent idea. It allows replacement of reports AND RAP
    functions without replacing the whole EXE. Wow, brillant.

    Bernd

    into
    units
    Designer
This discussion has been closed.