Link to home
Start Free TrialLog in
Avatar of bootsector
bootsector

asked on

DataModule inside a DLL?

I'm developing a modular system (one main .exe and variuos .DLLs) with Delphi 5. I'd like to know the best way to share a database connection with all modules. People have suggested me to put a DataBase component inside each .DLL, but i don't think this is the best way, because each module is gonna make it's own connection to the DataBase Server (InterBase)... I'm trying to put a DataModule inside a .DLL and make it available for each module (.DLL), but i'm having trouble when transferring data between DataModule and the modules...

Does anyone have messed with something like this? Is it really possible to put a DataModule inside a DLL and make it available for all the program? If so, how can I do it, PLEASE????!!!
ASKER CERTIFIED SOLUTION
Avatar of mocarts
mocarts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

bootsector:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.