## Cannot Find SDLLCAW.LIB When Building a .WLL

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:

1. Open the EXAMP.MAK project within Microsoft Visual C.
2. From the Options menu, choose Project.
3. Click the Compiler button in the Code Generation Options section.
4. Select the Use Emulator option from the Floating Point Calls box, and click OK.
5. 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.

Additional query words: 6.0 winword CAPI WLL EXAMP.WLL Floating Point Math Library

Keywords : kbmacro
Issue type :
Technology :

Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use.