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