16,548
社区成员




unsigned char bySmgpMsgID[10] = {0x02,0x50,0x06,0x06,0x02,0x08,0x56,0x14,0x82,0x70};
CString strTmp(_T(""));
CString strText(_T(""));
for(int i=0; i<sizeof(bySmgpMsgID)/sizeof(bySmgpMsgID[0]); i++)
{
strTmp.Format(_T("%02X"), bySmgpMsgID[i]);
strText += strTmp;
}
AfxMessageBox(strText);