我定义一个变量
CString str1;//为全局变量
CString str2;CEdit*   editPar=(CEdit*)GetDlgItem(IDC_EDIT2);  
editPar->GetWindowText(str2);
str1  =  str2;结果就报错了error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no acceptable conversion)
这个是为什么啊,我应该如何解决啊