Introduction
Here it is. Finally, I think I've reached the final step in serial communication programmation on Win32. This new version (V2.0) is much more structured than the previous one. I can handle either 1-byte exchange (like a UART) or arrays of byte. The application is 100% event-driven on the user side (the object itself is using one thread). And more important of all, this new version handles also modem specific signals like CD and RI. CD allows you to know if the modem is connected (to the other modem) or if you are in command mode. And RI is the RING Indicator. With this version, you can make whatever you like (like for example implementing PPP or simulating a microcontroller's UART)
Links
Download
I've removed the "non event-driven" version since I believe it is not so useful. Anyway, you can still download the V1.x package here (serial.zip). The version 2 can be downloaded here serial2.zip.
Feedback
I hope that this version will be the ultimate library for the serial port. I hope to receive your comments about it. Since the version 1.x was downloaded more than 4000 times in 8 months, I hope this one will be even better. If you like this software, please let me know, 'cause I like to know what people think of my work.
Bye