using dynaic dll's in borland

S

sufferthefools

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?
 
J

Jim Langston

sufferthefools said:
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?

Ask in a windows newsgroup
 
F

Fraser Ross

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top