The information in this article applies to:
SYMPTOMSIf a function is contained in a library being added to another library, and that function already exists in the library being added to, LIB.EXE adds it anyway. The following warning is generated: The .OBJ file is added to the library, and can be added multiple times. CAUSEThis behavior is by design. RESOLUTIONIf you add an object module that is already in the library, the new object module replaces the old one. However, if you combine libraries, they are always combined because there could be similarly named object modules in several different libraries that don't have any of the same functions. The above warning is generated to indicate conflicting function names. MORE INFORMATIONExamining the contents of the library with the DUMPBIN utility
shows multiple copies of the function exist in the library. The DUMPBIN
utility is in the \MSVCNT\BIN directory.
Sample Code
Additional query words:
Keywords : kbVC100 kbVC200 kbVC500 kbVC600 LibIss |
Last Reviewed: July 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |