Library Naming Conventions

 

The latest version of this topic can be found at Library Naming Conventions.

Object-code libraries for MFC use the following naming conventions. The library names have the form

uAFXcWd.LIB

where the letters shown in italic lowercase are placeholders for specifiers whose meanings are shown in the following table:

Library Naming Conventions

Specifier Values and meanings
u ANSI (N) or Unicode (U)
c Type of program to create: C=all
d Debug or Release: D=Debug; omit specifier for Release

The default is to build a debug Windows ANSI application for the Intel platform: NAFXCWD.Lib. All libraries listed in the following table are included prebuilt in the \atlmfc\lib directory on the Visual C++ CD-ROM.

Library Description
NAFXCW.LIB MFC Static-Link Library, Release version
NAFXCWD.LIB MFC Static-Link Library, Debug version
UAFXCW.LIB MFC Static-Link Library with Unicode support, Release version
UAFXCWD.LIB MFC Static-Link Library with Unicode support, Debug version

Note

If you need to build a library version, see the Readme.Txt file in the \atlmfc\src\mfc directory. This file describes using the supplied makefile with NMAKE.

For more information, see Naming Conventions for MFC DLLs and Unicode Versions of the MFC Libraries.

See Also

MFC Library Versions