已经定义:
m_Comm1.SetInputMode(1); //comInputModeBinary,数据二进制形式取回。
m_Comm1.SetRThreshold(4); //每次接收4字节在OnComm事件中,已经
VARIANT InBuffer;
......
InBuffer=m_Comm1.GetInput();我应该如何从InBuffer中取回我要的4字节内容?
m_Comm1.SetInputMode(1); //comInputModeBinary,数据二进制形式取回。
m_Comm1.SetRThreshold(4); //每次接收4字节在OnComm事件中,已经
VARIANT InBuffer;
......
InBuffer=m_Comm1.GetInput();我应该如何从InBuffer中取回我要的4字节内容?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货