Martin Gregorie wrote:> There seems to be no standard Windows API for serial ports
There is, but with poor or no documentation (as usual). And yes, that result in
programs using serial ports in all different ways, number of times wrong.
Even more so, as there are 2 major ways how to work with serial ports: direct
poll and overlapped operations. First is simple and most programs get it right,
but it's slows down the entire app and wastes CPU. Second is much more
officiant, but nearly impossible to get it exactly right for not experienced
programmers.