super_x

2008年12月24日

BSTR、char*和CString short转换

摘要: (1) char*转换成CString 若将char*转换成CString,除了直接赋值外,还可使用CString::Format进行。例如: char chArray[] = "This is a test"; char * p = "This is a test"; 或 LPSTR p = "This is a test"; 或在已定义Unicode应的用程序中 TCHA... 阅读全文

posted @ 2008-12-24 15:04 super_x 阅读(845) 评论(0) 推荐(0) 编辑