Unicode下char *转换为CString最简单的办法

来源:互联网 发布:有关动漫的软件 编辑:程序博客网 时间:2024/06/06 00:40

使用宏USES_CONVERSION, A2T, A2W。


char * pFileName = "D:\\校内项目\\QQ.bmp";USES_CONVERSION;CString s = A2T(pFileName)//CString s = A2W(pFileName);



原创粉丝点击