Results 1 to 2 of 2

Thread: DLL shared among DLLs

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Bahrain
    Posts
    41

    DLL shared among DLLs

    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..

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    What do you mean by creating a dll in an exe?
    Well, if you are thinking of having a reference set to an standard exe, it is not possible. You might try using ActiveX Exe, but then circular reference might cause you problem. Wouldn't it be easier if you create an dll and use its refrence either at design time or at runtime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width