你为什么不把CString类型的SendInfo.version改成char*类型呢?CString类型赋给char*的方法是:char*p = str.getBuffer(str.getlength());