Connecting Tech Pros Worldwide Forums | Help | Site Map

using dynaic dll's in borland

sufferthefools
Guest
 
Posts: n/a
#1: Jun 20 '06
hi guys
i have created a invoice system but updating it to all our users takes
too long and makes me sick. i am trying to convert all modules to
dll's so they can update themselves.

my problem is as follows. i have a form that i compile to a dll and
can be called dynamically by the main form. i can even connect a
dataset on the form to the main form's connection(very vital because
the connection can change ) but i can't seem to call functions on the
main form from the called form. it keeps giving me an exeption and
kills my program.

i have never worked with dynamic dll's and making them too static won't
help.
what do i do?


Jim Langston
Guest
 
Posts: n/a
#2: Jun 20 '06

re: using dynaic dll's in borland



"sufferthefools" <wessel@motani.co.za> wrote in message
news:1150787399.366951.318550@g10g2000cwb.googlegr oups.com...[color=blue]
> hi guys
> i have created a invoice system but updating it to all our users takes
> too long and makes me sick. i am trying to convert all modules to
> dll's so they can update themselves.
>
> my problem is as follows. i have a form that i compile to a dll and
> can be called dynamically by the main form. i can even connect a
> dataset on the form to the main form's connection(very vital because
> the connection can change ) but i can't seem to call functions on the
> main form from the called form. it keeps giving me an exeption and
> kills my program.
>
> i have never worked with dynamic dll's and making them too static won't
> help.
> what do i do?[/color]

Ask in a windows newsgroup


Fraser Ross
Guest
 
Posts: n/a
#3: Jun 20 '06

re: using dynaic dll's in borland


Have you declared the main form in your exe with __export? Have you
used LoadLibrary with the exe? This is the same problem that I'm
working on. I'm planning to a facade class instead of the main form.

Fraser.



"sufferthefools"[color=blue]
> hi guys
> i have created a invoice system but updating it to all our users takes
> too long and makes me sick. i am trying to convert all modules to
> dll's so they can update themselves.
>
> my problem is as follows. i have a form that i compile to a dll and
> can be called dynamically by the main form. i can even connect a
> dataset on the form to the main form's connection(very vital because
> the connection can change ) but i can't seem to call functions on the
> main form from the called form. it keeps giving me an exeption and
> kills my program.
>
> i have never worked with dynamic dll's and making them too static[/color]
won't[color=blue]
> help.
> what do i do?
>[/color]



--
Posted via a free Usenet account from http://www.teranews.com

Closed Thread