Unicode Support in the Microsoft Foundation Class LibraryLast reviewed: July 10, 1997Article ID: Q100639 |
1.00 2.00 4.00 2.10
WINDOWS NT
kbprb
The information in this article applies to:
SUMMARYUnicode support is not available in MFC version 2.0. Unicode support is enabled in MFC versions 3.0 and later, if you link with the right libraries. - If you're writing an AFXDLL application or DLL, link with MFCx0U.LIB or MFCx0UD.LIB (where "x" represents the major MFC version, currently either 3 or 4).- If you're writing an application, link with UAFXCWD.LIB or UAFXCW.LIB. - If you're writing a USRDLL with MFC 3.0, link with UAFXDWD.LIB or UAFXDW.LIB. MORE INFORMATIONBecause WinMain() comes from MFC in an MFC application, you should make sure that you have the right MFC libraries, or you will get an unresolved external on WinMain@16. An unresolved external on _WinMain@16 will also occur if you fail to add wWinMainCRTStartup into the EntryPointSymbol section of the link output category after adding _UNICODE to the preprocessor symbols. For more information, refer to the "Unicode Programming Summary" article in the "Developing for International Markets" chapter of the "Programming Techniques" in the Visual C++ Books Online. In MFC 4.0, _USRDLL is obsolete. A new DLL model is now available, simply called "Regular DLLs." Regular DLLs statically linked to MFC have the same characteristics as the former USRDLL. For more information, see Tech Note 33, DLL Version of MFC, or search the Visual C++ 4.0 Books Online for "_USRDLL" and "Dynamic-Link Libraries." NOTE: The MFC Unicode libraries are NOT installed by default; you can rerun setup and select only the Unicode MFC libraries.
|
Additional reference words: 1.00 2.00 2.10 3.00 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |