::GetPrivateProfileString(TEXT("Settting"), szItemName, "H0xFF,0xFF,0xFF,0xFF", szDevHeadData, 32, szConfigPath);
if (szDevHeadData[0] == 'H') //按16进制方式配置包头
{
char szDataTmp[32] = { 0 };
strcpy(szDataTmp, &szDevHeadData[1]);
_snscanf(szDataTmp, strlen(szDataTmp), "0x%02x,0x%02x,0x%02x,0x%02x", &m_PlayHead[i][0], &m_PlayHead[i][1], &m_PlayHead[i][2], &m_PlayHead[i][3]);
}
HANDLE hdll,hdll2;
_stscanf(AfxGetApp()->m_lpCmdLine,"%d %d",&hdll,&hdll2);
if (szDevHeadData[0] == 'H') //按16进制方式配置包头
{
char szDataTmp[32] = { 0 };
strcpy(szDataTmp, &szDevHeadData[1]);
_snscanf(szDataTmp, strlen(szDataTmp), "0x%02x,0x%02x,0x%02x,0x%02x", &m_PlayHead[i][0], &m_PlayHead[i][1], &m_PlayHead[i][2], &m_PlayHead[i][3]);
}
HANDLE hdll,hdll2;
_stscanf(AfxGetApp()->m_lpCmdLine,"%d %d",&hdll,&hdll2);