Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 2.23 KB

library-naming-conventions.md

File metadata and controls

51 lines (40 loc) · 2.23 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Library Naming Conventions | Microsoft Docs
11/04/2016
cpp-windows
article
C++
NAFXCW.LIB [MFC]
libraries [MFC], static
coding conventions [MFC], MFC library names
NAFXCWD.LIB [MFC]
console applications [MFC], MFC library versions
naming conventions [MFC], MFC object code libraries
object code libraries, MFC naming conventions
object code libraries
conventions [MFC], MFC library names
MFC libraries, naming conventions
39fe7d93-5a14-4c6a-b16c-bf318fa01278
9
mikeblome
mblome
ghogen

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.

Static-Link Library Naming Conventions

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