标签:har string message 对话 转换 str txt send nbsp
1、对话框打印char*
char* info="";
::MessageBoxA(this->m_hWnd, info, "", MB_OK);
2、CString转char*
int nLen;
char * wsabuf = NULL;
#ifdef _UNICODE
//CString转换成char*
USES_CONVERSION;
wsabuf = W2A(send_txt_str);//send_txt_str为CString消息
#else
#endif
标签:har string message 对话 转换 str txt send nbsp
原文地址:http://www.cnblogs.com/judes/p/6146795.html