` Printed Icetips Article

Icetips Article



ABC: Multidlls with multiple dictionaries
1998-08-29 -- Nik Johnson
 
Newsgroups: topspeed.products.c4

> I have in the meantime  purchase clarion 5. Heard a birdie whistle that
> the problem might be solved in clarion 5. Is this True?

If so, it's news to me.

However, you may be able to do what you want in either C4 or C5 if you
use a separate "root" dll for each dictionary. Don't tell the rest of
your app about the extra roots. Let them be "private" to dlls which use
that dictionary. The links go something like this:


    Dict_A - Root_A - DLL_A1 - DLL_A2 - ... - EXE
                        |                      |
    Dict_B > Root_B - DLL_B1                   |
                                               |
    Dict_C > Root_C - DLL_C1 - DLL_C2 ----------

In each case, the root dll will have the necessary derived objects to
handle the files of the corresponding dictionary. However, you will only
be able to "see" these from dlls in that particular chain, so any access
needs to be through procedures in that chain.

Yes, you will have multiple copies of some class methods.

No, I don't think it will hurt.

Yes, I wish they'd come up with a better way. 

-Nik



Printed November 23, 2024, 3:30 am
This article has been viewed/printed 35383 times.
Google search has resulted in 24 hits on this article since January 25, 2004.