Important: The information in this document is obsolete and should not be used for new development.
Change Names for Newer Import Libraries
If the new version of the import library cannot support older clients, it is essentially a new library, so the developer could give the new library a different name to eliminate the need for version or symbol checking. For example, you could call a revision tomooLib
that is not compatible with older clientsmooLib_2.0
. However, since the Code Fragment Manager considers libraries with different names to be totally separate libraries, it is possible to have several instantiations of a library present in memory at the same time.
- WARNING
- By simply renaming an import library, it is possible for one program to end up trying to use two different versions of an import library. For example, say an application uses
mooLib
and uses a third-party library that also requiresmooLib
. If the third-party developer decides to upgrade tomooLib_2.0
, the application may end up trying to use bothmooLib
andmooLib_2.0
. Because of this danger, the developer should avoid simply renaming newer versions of import libraries. For a safer method, see "Put New Symbols in New Logical Libraries" (page 3-21).