🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Parity Bit have No Effect.......

#6273
From: Ramy
Date: Tue, 31 May 2005 16:57
27 lines
1510 bytes
Wow thanks very much! it's a part of code that i took from 
another project, and i never noticed that, thanks! :-)

Ramy



>Well, if you are still using this code:
>
>> my_DCB.Parity = MARKPARITY;
>>     strcat( com_params, ":9600, N, 8, 1" );
> 
>> if ( !BuildCommDCB( com_params, &my_DCB ) )      // Fills DCB Structure with Com Values
>>     return FAIL;

  .
  .
  .
  .
  .

>place. Choose one method (manual or BuildCommDCB() ) and use only
>that.
>
>>  if ( !SetCommState( ComHndl, &my_DCB ) )                                     // Configures Com Port
>>    return FAIL;
Technical Details
Message-ID: <429c9779$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429c92d6$1@newsgroups.borland.com> <gu4p919ougmd71vo7hs649g486n3j525f0@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,821a5333e4c794bc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ramy" <Ramy@NoMail.com>
Sender: "Ramy" <Ramy@NoMail.com>
Reply-To: "Ramy" <Ramy@NoMail.com>
Subject: Re: Parity Bit have No Effect....... 
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.0.27.159     
References: <429c92d6$1@newsgroups.borland.com> <gu4p919ougmd71vo7hs649g486n3j525f0@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <429c9779$1@newsgroups.borland.com>
Date: 31 May 2005 09:57:29 -0700
X-Trace: newsgroups.borland.com 1117558649 207.105.83.66 (31 May 2005 09:57:29 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail