VARIANT variant_inp;
COleSafeArray safearrary_inp;
LONG len,k;
BYTE rxdata[2048];
CString strtemp;
if(m_ctrlComm.GetCommEvent()==2)
{
variant_inp = m_ctrlComm.GetInput();
safearrary_inp = variant_inp;
len = safearrary_inp.GetOneDimSize();
for(k=0;k
2021-11-20 21:31:15
1.84MB
串口通信
1