运行后错误:
F:\example\ch8\Example8\Dedlg.cpp(141) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no acceptable conversion)作者: isbettor 时间: 2004-9-2 19:27
把
value7.type=PRO_PARAM_STRING;
value7.value.s_val=m_zi;
换成
value7.type=PRO_PARAM_STRING;
memcpy(value7.value.s_val,m_zi,strlen(m_zi));