用VC6写的UNICODE应用程序在Win2K和WinXP下都OK,可在Win98SE下一运行就非法操作

Iamme 2003-12-08 09:59:18
我自己怀疑是程序的入口有问题
哪位大侠帮帮忙?
...全文
55 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
rivershan 2003-12-08
  • 打赏
  • 举报
回复
WIN98不支持UNICODE~~~
Differences Between Windows NT and Windows 98
The implementation of international support in Windows 98 and Windows 2000 differs. Both operating systems support the NLSAPI and the MLAPI, both handle input locale switching and multilingual fonts, and both will be released in multiple language versions (Windows 98 will ship in a few more languages than Windows 2000). However, key architectural differences mean that Windows 98 will not support multilingual applications to the same degree that Windows NT does.

Since Windows 98 has evolved from the Windows 3.x code base, it does not contain native Unicode support, but instead uses ANSI character encodings. The lack of native Unicode support makes sharing data between machines running different character encodings more difficult. It is still possible to write a Unicode-based application that runs on Windows 98 (Word 97, for example), but with the exception of a small subset of wide-character APIs that Windows 98 supports, Unicode data must be translated before it is sent to system calls. One of the wide-character APIs, TextOutW, allows applications to display Unicode-encoded data. This is the API that Internet Explorer uses, for example, to display Japanese text on an English system.

Windows 98 and Windows NT share a common resource file format. It is therefore possible to create applications that can run on Windows 98 and change UI language. However, Windows 98 does not support multilingual user profiles or thread locales, so some mechanisms for automating the change of an application's UI language do not exist. In addition, Windows 98 does not support the ability to change the UI of the system itself.

Unlike Windows NT, localized editions of Windows 98 do not share a single binary. Asian and Middle Eastern editions are still supersets of the European editions of the system. Input Method Editor support is limited to Asian editions of Windows 98.
Iamme 2003-12-08
  • 打赏
  • 举报
回复
搞了半天不支持,那可让人头痛了
zhucde 2003-12-08
  • 打赏
  • 举报
回复
为了成功编译支持 UNICODE 的 MFC 程序,必须使用 MFC 的 UNICODE 版本库。该库在定制安装Visual C++ 时是个可选安装项。
ISunwu 2003-12-08
  • 打赏
  • 举报
回复
支持楼上。
lygfqy 2003-12-08
  • 打赏
  • 举报
回复
同意楼上的
98对unicode本身是不支持
ross33123 2003-12-08
  • 打赏
  • 举报
回复
Win98 不支持 UNICODE

如果装了Microsoft Layer For Unicode 会提供有限的支持,但是很少有产品实际使用它

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧