2013年12月18日
摘要: 首先是把TCHAR转为char//将TCHAR转为char //*tchar是TCHAR类型指针,*_char是char类型指针 TcharToChar (const TCHAR * tchar, char * _char) { int iLength; //获取字节长度 iLength = WideCharToMultiByte(CP_ACP, 0, tchar, -1, NULL, 0, NULL, NULL); //将tchar值赋给_char WideCharToMultiByte(CP_ACP, 0, tchar, -1, _char, iL... 阅读全文
posted @ 2013-12-18 09:35 大宴天下 阅读(509) 评论(0) 推荐(0) 编辑