摘要: BSTR、char*和CString转换 (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"; 或在... 阅读全文
posted @ 2005-11-10 16:42 小于 阅读(1394) 评论(0) 推荐(0) 编辑