[EMAIL PROTECTED] wrote:
          Application
               |
      -------------------
      |                 |
   Library 1        Library 2
      |                 |
      -------------------
               |
           Xerces-C

In essence, what do you do when 1 & 2 expose initialization methods, both of
which are initializing the same copy of Xerces upon which both tools have
independent dependencies?

It's OK to invoke XMLPlatformUtils::Initialize from two libraries if Application serializes calls to initialization methods of libraries.

Would it be possible to encapsulate the Xerces-C
global state information in such a way that Library 1 and Library 2 each
possess their own separate copy?

There are no needs for this.

Good luck !

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to