Cannot Find SDLLCAW.LIB When Building a .WLL

ID: Q122433

The information in this article applies to:

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

Last Reviewed: February 5, 1998