CString 十六进制转二进制 int nValude = 0; CString strtemp("asdb");; sscanf(strtemp.GetBuffer(0),"%x",&nValude);