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

HELP Problems when using dll with RBuilder 6.0

edited October 2001 in General
Hi, somedays ago i have reported several problems after migratting from
4.22 with D3 to RBuilder 6 with D6. All the operations i do into my
applications with Reportbuilder are sited into dll functions, included an
entire form to give the user end-runtime designing possibilities of the
reports.
I have found that the problem is because using dll, if i include into the
project
all the units/files of the dll in order to get all the operations directly
into
the exe file (not using the dll) then all seem goes Ok. What happens with
the dll management of the parameter-objects in Rbuilder 6/Delphi 6?
How can i use corretly all my report-operations using a dll?
(The object to use a dll is to avoid an extra big exe file).

Thanks for all

Comments

  • edited October 2001
    We have a DLL example in the installed ..\RBuilder\Demos\dll directory. I
    just ran it in D6 RB6.02 and it appeared to work correctly. How does your
    application compare to this demo code?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited October 2001
    Hi Jim, the dll demo runs Ok, the important difference is that your
    demo has the database ttable into the dll form. My dll functions
    receive like parameters the databases i wish to use into the reports,
    so with the same dll function to develop end-user reports i can give
    this functionality in all the different forms of my application, with of
    course different databases. The problem is that in the reports seems
    don't arrive the database information (name of the fields, etc...), and
    with some fields like image fields the image is lost. (I repeat that if
    i compile this functions directly into the exe all goes ok)

    (Note: of course i use sharemem in all my projects)




This discussion has been closed.