¡@

VxComm 009

back

Q: Will the VxComm Driver allow the SetCommState( ) API to dynamically change the baud rate, data bits, parity and stop bits?

¡@

Ans: Yes. In the Win32 environment, users should call the CreateFile( ) API to open the COM port(s) and then use the SetCommState( ) API to configure it.

¡@

Third-party tools may provide an OpenCom( ) function for the easy opening of COM ports. In actuality, they must use the CreateFile( ) and SetCommState( ) APIs to implement these kinds of functions.

¡@

back

Written by Gary Lin 

Date:2002/3/12