Description: 在阅读MSDN中发现只要妙用MultiByteToWideChar和LCMapString两函数,就可以简简单单地实现不同内码的转换。为了让程序员使用更方便,笔者编写了一个CChineseConvertor类,包装了所有中文内码的转换功能。读者可以直接在MFC中加入此类,用起来也非常轻松。详细细节请察看ChineseConvertor.h和ChineseConvertor.cpp源代码。-reading MSDN found as long as the magic MultiByteToWideChar and LCMapString two functions, it can simply to achieve different internal code conversion. To allow programmers to use more convenient, the authors prepared a CChineseConvertor category, packaging of all Chinese within yards of the conversion function. Readers can direct the inclusion of such MFC, using it is also extremely easy. For further details, please see ChineseConvertor.h and ChineseConvertor.cpp source code. Platform: |
Size: 2048 |
Author:王正 |
Hits: