09 2014 档案

char*,wchar_t*,CString和BSTR之间的转换
摘要:前言本文并不尝试列举出所有的转换方法,只列举作者认为方便易用的方法。1.char*和wchar_t*的相互转换可以利用中间类_bstr_t(头文件comdef.h)方便的进行相互转换const wchar_t* wText = (_bstr_t)"测试";char* cText = (_bstr_t... 阅读全文

posted @ 2014-09-05 09:54 Jingle Guo 阅读(8340) 评论(4) 推荐(1)