最近在编译64位的MFC时,发现只要用“使用多字节字符集”选项,就会出现“应用程序无法正常启动”的问题,哪怕是个空项目只加几行包含文件都不行。UNICODE字符集就没有,为什么会这样?请大神们帮我解决一下吧!!!
------解决思路----------------------
哥做程序从来只用基本库
集最大可能不用别人的东西
所以从来没有出现你说的这种问题
所以没法给你提供有用信息
就算是对UNICODE
哥也只是用char
对各种编码的识别和分解
百度都有详细的规则说明
------解决思路----------------------
看一下详细信息吧:报错的时候,Win+r 组合键打开运行,输入eventvwr,打开事件查看器——>Windows日志——>应用程序,即可找到相关的信息
------解决思路----------------------
mfcxxxu.dll
------解决思路----------------------
Collapse AllExpand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript
Visual Basic
C#
Visual C++
J#
JScript
MFC Library Reference
Library Naming Conventions
See Also Send Feedback
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:
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 on the Visual C++ CD-ROM.
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
Concepts
MFC Library Versions
Send feedback on this topic to Microsoft.
------解决思路----------------------
在"控制面板"里有"区域和语言选项",最后一项是"高级",只要将语言选择为希腊语,重启电脑即可。
------解决思路----------------------
我用VS2010试了一下,没有出现楼主所说的问题。