Thanks, I'll change XoffChar to, say, 1.
BTW, at least on XP SP3, SetCommState works even when XonChar == XoffChar.
Type: Posts; User: aleksazr
Thanks, I'll change XoffChar to, say, 1.
BTW, at least on XP SP3, SetCommState works even when XonChar == XoffChar.
It was the cable. Not properly shielded and too long.
Any idea what could have happen to my system?
I've tried two older programs that have the same code and they both don't work anymore.
BTW, the first 10 bytes I receive are FE FE 33 FE FF FF FF FF...
I'm having a problem with the serial port code.
I just do:
opencomm();
send();
closecomm();
and the ClearCommError() (inside recv()) returns in
comstat.cbInQue the same...