unicode 工程的 CEditvoid CserverDlg::display(CString msg)
{
CEdit *show = (CEdit*)GetDlgItem(IDC_EDIT1); CString temp;
temp.Format(_T("%s\n"),msg);
show->SetWindowText(msg);
UpdateWindow();
}为什么运行到 show->SetWindowText(msg); 就直接提示 运行冲突,然后没有说明为什么。