MFC static library. Lib, dynamic library. dll (including import library. Lib), and Unicode library example

Source: Internet
Author: User

Use vs2012 as the standard. From: http://technet.microsoft.com/zh-cn/library/w4zd66ye, there are changes.

1. MFC static library (. Lib)

The MFC static library uses the following naming conventions:

UafxCWD. Lib.

The library naming conventions are described as follows:

Description Value and meaning
U (N) ANSI or (u) Unicode
C Plan type created: c = all
D D = debug version; release version omitted specifier

The default value is to generate a static library for the debug windows ANSI application for the Intel Platform: nafxcwd. Lib.

The following table lists all libraries that contain pre-generated static libraries in the \ atlmfc \ lib directory.

Static Link Library naming conventions:

Library Description
Nafxcw. Lib MFC static Link Library, released version
Nafxcwd. Lib MFC static Link Library, debugging version
Uafxcw. Lib MFC supports Unicode static link libraries and is released
Uafxcwd. Lib MFC supports Unicode static link libraries and debugging versions

 

Dynamic library of MFC (including import to database. Lib)

The DLL and library contained in MFC follow the structured naming conventions. This makes it easier to understand which DLL or library to use.

The import library required by the application or extension DLL that generates the application that uses these dll has the same basic name as the DLL, but has the. Lib file extension.

Shared DLL naming conventions:

DLL (import to database. Lib) Description
Mfcxx. dll (mfcxx. lib/mfcsxx. Lib) Mfc dll, ANSI released
Mfcxxu. dll (mfcxxu. lib/mfcsxxu. Lib) Mfc dll, Unicode version released
Mfcxxd. dll (mfcxxd. lib/mfcsxxd. Lib) Mfc dll, ANSI debugging version
Mfcxxud. dll (mfcxxud. lib/mfcsxxud. Lib) Mfc dll, Unicode debugging version

 

3. All Unicode library examples of MFC

The Unicode version of the MFC Library is as follows:

Static Link Library:

Release) Debug) Description
Uafxcw. Lib,. PDB Uafxcwd. Lib,. PDB Unicode MFC static Link Library

 

Dynamic Link Library:

Release) Debug) Description
Mfc100u. Lib,. dbg, def,. dll,. Map,. PDB,. PRF Mfc100ud. Lib,. Def,. dll,. Map,. PDB Unicode MFC contains code imported from applications or DLL that must be statically linked
Mfcs100u. Lib,. PDB Mfcs100ud. Lib,. PDB Unicode MFC contains code imported from applications or DLL that must be statically linked

 

File Type:

  • Imported files have the extension (. Lib ).

  • The dynamic link library file has an extension (. dll ).

  • The module definition (. Def) file is a text file that contains the defined. EXE or. dll statements.

  • A. Ing (. Map) file is a text file used by the Information linker in the Link program.

  • The import library (. Lib) file is used together with the dll version of MFC. These files contain code that the application or dll must be statically linked.

  • Debugging and project status information in the program database (. PDB) file.

  • The debug (. DBG) file contains the information used by the visual C ++ debugger (coff FPO and codeview ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.