I have a master application, this application load several dlls. These dlls can call another dlls for share data and a database connection.
Each time that a dll is loaded a instance of this dll is loaded in memory and make a another connection a Database.
This application is for Windows NT and 9x
I use Informix Dinamyc Server as Database server and i use TQuery components for access data.
I programming in Delphi 4 c/s.
How can I share a single database connection and variables for several dlls?
Note: Somebody tell me about createmapfile but I think is not a good idea because i need share a objects and executable code