I modified the routine to check the ClearCommError() function. Success was returned.
No difference at all in the ReadFile(). It never returns if you unplug the UNO during the read.
I modified the routine to check the ClearCommError() function. Success was returned.
No difference at all in the ReadFile(). It never returns if you unplug the UNO during the read.