Hi,I have a program to read data using Microsoft Communication Control(MSCOMM). I want to set the buffer input length of 1 byte. but it can't run.
this is my program :
Code:
	m_comm.SetCommPort(12);
	m_comm.SetSettings("9600,N,8,1");
	m_comm.SetInputLen(1); // read 1 byte data
	m_comm.SetRTSEnable(FALSE);
	m_comm.SetRThreshold(0);
	m_comm.SetInBufferSize(1); // setting input buffer lenght
	m_comm.SetPortOpen(true);
Do you have a solution?