Microsoft KB Archive/99574

{|
 * width="100%"|

FIX: Library Name Changes When Compile Option Changes

 * }

Q99574

-

The information in this article applies to:


 * Microsoft Visual C++, versions 1.0, 1.5

-

SYMPTOMS
An attempt to add a library to a project fails if the library has a name like LLIB .LIB. Visual C++ changes the name of the library to LLIB[E|7|A].lib depending on the coprocessor option specified in the C++ Compiler Options dialog box.

RESOLUTION
Perform one of the following two steps to address this problem:


 * Add the library to the project list rather than specifying the library in the linker options.
 * Change the name of the library.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, version 6.0.

MORE INFORMATION
Perform the following eight steps to demonstrate this problem:


 * 1) From the Options menu, choose Project.
 * 2) Choose Linker in the Customize Build Settings group.
 * 3) Add &quot;lliboops&quot; (without the quotation marks) to the list of libraries in the Input category.
 * 4) Choose OK.
 * 5) Choose Compiler in the Customize Build Settings group.
 * 6) In the Floating-Point Calls list box, choose 80x87 Calls
 * 7) Choose OK.
 * 8) Choose Linker in the Customize Build Settings group. The name of the new library is &quot;llibo7ps.&quot;

Additional query words: 1.00 1.50 Library Name Change .LIB linker

Keywords : kbVC600fix kbGrpDSTools

Issue type : kbbug

Technology : kbVCsearch kbAudDeveloper kbvc150 kbvc100