Hi,
On 2010.05.12 03:27, dru...@users.sourceforge.net wrote:
+ harbour/src/rtl/hbcom.c + added Harbour multiplatform serial port C API (hb_com*() functions). implemented code for *nixes, MS-Windows and OS2. DOS is not supported yet. Please make test on different platforms.
Thanks for one more great piece of code!!! I didn't know than COM port has so many flowcontrol options!
I has a code that seems does not fit under the new code. I have a simple button (well, there is a RS-latch to avoid contact bouncing) and I need to record time when the button is pressed. Button is connected to DSR (or CTS), so I need some way to monitor this register and obtain some kind of "interrupt" on delta DSR (or CTS). I do this using SetCommMask() and WaitCommEvent() under Win32. Is it possible to have some multiplatform way to get this functionality?
Regards, Mindaugas _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour