Click here to Skip to main content
12,826,465 members (24,171 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked
Posted 31 Mar 2004

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 -->


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
.pdb UAFXCWD.lib,
.pdb Unicode MFC static link library

Dynamic Link Libraries
Release Debug Description
.dbg, def, .dll, .map, .pdb, .prf MFC42UD.lib,
.def, .dll, .map, .pdb Unicode MFC import library
(see notes below for explanation of file extensions)
.def, .dll, .map, .pdb Unicode MFC import library for database
.def, .dll, .map, .pdb Unicode MFC import library for network (sockets)
.def, .dll, .map, .pdb Unicode MFC DLL for Active technologies
.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 



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

United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralOh Dear! Pin
Colin Angus Mackay18-Apr-04 12:36
memberColin Angus Mackay18-Apr-04 12:36 
GeneralRe: Oh Dear! Pin
Michael Dunn18-Apr-04 13:07
sitebuilderMichael Dunn18-Apr-04 13:07 
GeneralRe: Oh Dear! Pin
aimsoft28-Aug-05 2:17
memberaimsoft28-Aug-05 2:17 
GeneralPlural Pin
Anonymous1-Apr-04 23:16
sussAnonymous1-Apr-04 23:16 
GeneralRe: Plural Pin
Roger632-Apr-04 1:29
memberRoger632-Apr-04 1:29 
GeneralRe: Plural Pin
Jörgen Sigvardsson3-Apr-04 4:32
memberJörgen Sigvardsson3-Apr-04 4:32 

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

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

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170326.1 | Last Updated 1 Apr 2004
Article Copyright 2004 by Roger65
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid