请教大侠帮忙解决一下,急!!
------解决方案--------------------------------------------------------
CString cs;
const char * pChar = (LPCSTR)cs;
------解决方案--------------------------------------------------------
void ClianxiView::displaymsgbox(const char * str)
{
AfxMessageBox(CString(str));
}