Cannot Find SDLLCAW.LIB When Building a .WLL

Last reviewed: February 5, 1998
Article ID: Q122433
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SYMPTOMS

When building the EXAMP.WLL included with the Microsoft Word Developer's Kit, you may receive the following link error message in Microsoft Visual C++.

   LINK : fatal error L4051: sdllcaw.lib : cannot find library
    LINK returned error code 2.
   EXAMP.DLL - 1 error(s), 0 warning(s)

CAUSE

The error indicates that the alternate Floating Point Math Library, SDLLCAW.LIB, is not currently installed. Microsoft Visual C++ Setup doesn't load the alternate math library by default.

RESOLUTION

Method 1: Run the Microsoft Visual C (MSVC) Setup again and install the

          alternate math library for the small memory model.

Method 2: Compile and link the EXAMP.MAK project using the Floating Point
          Emulator instead of the alternate math library. To do this,
          complete the following steps:

          a. Open the EXAMP.MAK project within Microsoft Visual C.

          b. From the Options menu, choose Project.

          c. Click the Compiler button in the Code Generation Options
             section.

          d. Select the Use Emulator option from the Floating Point Calls
             box, and click OK.

          e. Click OK in Project Options dialog box.

Whichever method you use, remember to choose Rebuild All for EXAMP.DLL and rename EXAMP.DLL to EXAMP.WLL so that you can use it within Word 6.0 for Windows.


KBCategory: kbusage
KBSubcategory: kbmacro
Additional reference words: 6.0 6.0a 6.0c winword CAPI WLL EXAMP.WLL
Floating
Point Math Library
Keywords : kbmacro
Version : 6.0 6.0a 6.0c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.