DTR Flow Control

Rein Klazes rklazes at xs4all.nl
Sun Mar 3 07:43:53 CST 2002


On Sun, 3 Mar 2002 00:42:39 -0500 (EST), you wrote:


> 
> Oops, I guess that was not the way to do it.  Could you try this
> instead:
> 
> diff -ur was/dlls/kernel/comm.c is/dlls/kernel/comm.c
> --- was/dlls/kernel/comm.c	Fri Mar  1 15:19:45 2002
> +++ is/dlls/kernel/comm.c	Sun Mar  3 00:37:11 2002
> @@ -1248,6 +1248,7 @@
>  	{
>  		case 0:
>  			lpdcb->Parity = NOPARITY;
> +			lpdcb->fParity = FALSE;
>  			break;
>  		case PARENB:
>  			lpdcb->Parity = EVENPARITY;
> 
> 
> 

Beware, it is possible for serial communication to have parity in one
direction only. My banking program uses parity when it sends data, but
there is no parity on the received characters. It is the opposite of
the case that is handled here, but the (il)logic is the same. 

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl




More information about the wine-devel mailing list