[求助]串口通信的问题
void CSerialPortAPIDlg::OnBtnSend() {
// TODO: Add your control notification handler code here
UpdateData(true);
DWORD wCounts;
WriteFile(hCom,m_send,m_send.GetLength,&wCounts,NULL);//发送数据
}
提示错误“error C2664: 'WriteFile' : cannot convert parameter 3 from 'int (void) const' to 'unsigned long'”
哪位可以帮忙解答一下啊,多谢了啊......