Skip to content

Latest commit

 

History

History
77 lines (66 loc) · 2.42 KB

File metadata and controls

77 lines (66 loc) · 2.42 KB
title Library Naming Conventions | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
NAFXCW.LIB
libraries [C++], static
coding conventions, MFC library names
NAFXCWD.LIB
console applications, MFC library versions
naming conventions [C++], MFC object code libraries
object code libraries, MFC naming conventions
object code libraries
conventions [C++], MFC library names
MFC libraries, naming conventions
ms.assetid 39fe7d93-5a14-4c6a-b16c-bf318fa01278
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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