Click here to Skip to main content
Click here to Skip to main content

Adding Unicode libraries to Your system

, 31 Mar 2004
Rate this:
Please Sign up or sign in to vote.
For those of us that get Link error "mfc42ud.lib" not found
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS--><!-- Download Links --> <!-- Add the rest of your HTML here -->

Introduction

I have seen comments on this subject from people with the same problem I have had, "Link Error: can't find mfc42ud.lib".  I found this article in MSDN Library, it resolves this issue.


   MSDN Home >  MSDN Library >  Visual Tools and Languages >  Visual Studio 6.0 >  Visual C and C++ 6.0 >  
Unicode Topics
Home |  Overview |  How Do I |  Sample

On Windows NT platforms, MFC supports the Unicode standard for encoding wide characters. Unicode is not presently supported on Windows 95.

Note   The Unicode versions of the MFC libraries are not copied to your hard drive unless you select them during a Custom installation. They are not copied during other types of installation. If you attempt to build or run an MFC Unicode application without the MFC Unicode files, you may get errors.

To copy the files to your hard drive, rerun Setup, choose Custom installation, clear all other components except "Microsoft Foundation Class Libraries," click the Details button, and select both "Static Library for Unicode" and "Shared Library for Unicode." Or, click "Select All".

The Unicode versions of the MFC libraries are described below:

Static Link Libraries
Release Debug Description
UAFXCW.lib,
.pdb UAFXCWD.lib,
.pdb Unicode MFC static link library


Dynamic Link Libraries
Release Debug Description
MFC42U.lib,
.dbg, def, .dll, .map, .pdb, .prf MFC42UD.lib,
.def, .dll, .map, .pdb Unicode MFC import library
(see notes below for explanation of file extensions)
 MFCD42UD.lib,
.def, .dll, .map, .pdb Unicode MFC import library for database
 MFCN42UD.lib,
.def, .dll, .map, .pdb Unicode MFC import library for network (sockets)
 MFCO42UD.lib,
.def, .dll, .map, .pdb Unicode MFC DLL for Active technologies
MFCS42U.lib,
.pdb MFCS42UD.lib,
.pdb Unicode MFC import library containing code that must be statically linked in an application or DLL


File types:

Import library files have the extension (.lib).


Dynamic link library files have the extension (.dll).


Module definition (.def) files are text files that contain statements for defining an .exe or .dll.


Map (.map) files are text files that contain information that the linker uses when linking a program.


Library (.lib) files are used in conjunction with the DLL versions of MFC. These files contain code that must be statically linked in the application or DLL.


Program database (.pdb) files contain debugging and project state information.


Debug (.dbg) files contain information (COFF FPO, and CodeView) that the Visual C++ Debugger uses.
For detailed information on naming conventions, see Naming Conventions for MFC DLLs and Library Naming Conventions.

For information on using Unicode with MFC, see International Programming Topics and Strings: Unicode and Multibyte Character Set (MBCS) Support.
 

Manage Your Profile |Legal |Contact Us |MSDN Flash Newsletter
©2004 Microsoft Corporation. All rights reserved. Terms of Use |Privacy Statement 
 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Roger65

United States United States
No Biography provided

Comments and Discussions

 
GeneralOh Dear! PinmemberColin Angus Mackay18-Apr-04 11:36 
GeneralRe: Oh Dear! PinsitebuilderMichael Dunn18-Apr-04 12:07 
GeneralRe: Oh Dear! Pinmemberaimsoft28-Aug-05 1:17 
GeneralPlural PinsussAnonymous1-Apr-04 22:16 
GeneralRe: Plural PinmemberRoger632-Apr-04 0:29 
GeneralRe: Plural PinmemberJörgen Sigvardsson3-Apr-04 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 1 Apr 2004
Article Copyright 2004 by Roger65
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid