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
[EMAIL PROTECTED]


Reply via email to