🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6019

Re: Getting Crazy, Parity Again!

#6019
From: Michel Leunen
Date: Sun, 19 Jun 2005 16:02
16 lines
1424 bytes
Ramy wrote:

> I need that fParity will be '1' for parity enabled. 

Just don't call GetCommState() after having set fParity to true :-)
It seems that GetCommState() reset ther DCB struct to something like 
default values.

Michel
-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID: <42b5972a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b573b8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1cdafdd48cb76d8c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 19 Jun 2005 18:02:54 +0200
From: Michel Leunen <nospam@noreply.please>
Organization: www.leunen.com
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: fr-be, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Getting Crazy, Parity Again! 
References: <42b573b8$1@newsgroups.borland.com>
In-Reply-To: <42b573b8$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.243.102.154
Message-ID: <42b5972a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119196970 81.243.102.154 (19 Jun 2005 09:02:50 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail