Hal,
Well you can do it this way:
sprintf(szBaud, "baud=%d parity=%c data=%d stop=%d", baud, parity, databits,
stopbits);
BuildCommDCB(szBaud, &m_dcb)
The variable baud is the actual baud-rate you require.
Andy.
------------------------------------------
Andy Whittaker
Chester, England.
Email: mail@...
Web: http://www.andywhittaker.com/
ECU Stuff: http://www.andywhittaker.com/ecu/
----- Original Message -----
From: <hal@...>
To: <opendiag@yahoogroups.com>
Sent: Tuesday, March 13, 2001 10:34 PM
Subject: [opendiag] 5 bps in Win NT/2k
> Ok...
>
> How do you set 5 baud in Win NT & 2k?
>
> Using SetCommState, do you set it to 5 or use a divisor latch value of
> 23040?
>
> I'm stumped.
>
> Hal
Received on Wed Mar 14 09:31:09 2001
This archive was generated by hypermail 2.1.8 : Wed Jan 02 2008 - 00:56:01 CET