hassan
Apr 29th, 2001, 06:21 AM
my app runs like this
Main.EXE
|
|-- Acounts.DLL
|-- Customers.DLL
|-- Payable.DLL
|-- Inventory.DLL
|-- Payroll.DLL
the main.exe is the system manager of this program, and there are a log of DLLs works like "Plugins" to the system manager, there is not reference in the Main.EXE to those DLL, i create to object dynamically: -
Set Plugin(x) = createobject("Accounts.Server")
where server is a class in accounts.dll
The problem is: -
i have another DLL which handle the database connection and a lot of other shared function what should be accessable to all plugins DLLs and the Main.EXE, i want to create this shared DLL only once in the Main.EXE, then i want this DLL to be shared among all plugins DLL..
Main.EXE
|
|-- Acounts.DLL
|-- Customers.DLL
|-- Payable.DLL
|-- Inventory.DLL
|-- Payroll.DLL
the main.exe is the system manager of this program, and there are a log of DLLs works like "Plugins" to the system manager, there is not reference in the Main.EXE to those DLL, i create to object dynamically: -
Set Plugin(x) = createobject("Accounts.Server")
where server is a class in accounts.dll
The problem is: -
i have another DLL which handle the database connection and a lot of other shared function what should be accessable to all plugins DLLs and the Main.EXE, i want to create this shared DLL only once in the Main.EXE, then i want this DLL to be shared among all plugins DLL..