![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
smalljonxo
这个作者很懒,什么都没留下…
展开
-
Windows下JNI初学实例
首先推荐一篇文章: http://www.wangchao.net.cn/bbsdetail_1754615.html http://blog.csdn.net/abowu/article/details/7245609 1~4 篇文章 1:编写Java源程序 2:.java 通过编译生成 .class 3: .class编译生成对应的.h 4: .h通过编...原创 2012-06-21 16:05:29 · 60 阅读 · 0 评论 -
CString 进行Format 转换乱码问题
通常我们使用强制转换可以把单个字符在unicode与ASCII字符之间互相转换 但是由于VS2008 和 VS2005 工程有差异,所以可能会导致转码错误。 例如: char *ch="hello"; CString msg; msg.format(_T("%s",LPCTSTR(ch)); AfxMessageBox(msg); 其中_T 已经进...原创 2012-08-22 17:18:09 · 636 阅读 · 0 评论