Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

What does ClearCommError rc=24 mean?

$
0
0
I'm using OverlappedIO and I'm calling ClearCommError inbetween reads.  But I've noticed that I get ERROR_BAD_LENGTH (24) for most of my calls (cbInQue and cbOutQue are both zero as well).   In the examples, most people are checking for ERROR_IO_PENDING -- I get that.   But the MSDN help for ClearCommError doesn't even list ERROR_IO_PENDING as a value for dwErrors let alone ERROR_BAD_LENGTH.   So where do I find what this error code is trying to tell me?

rhfritz



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>