Article View: borland.public.cppbuilder.nativeapi
Article #6190Re: Sorry...... Still Not Working......
From: Bob Gonder
Date: Wed, 01 Jun 2005 16:26
Date: Wed, 01 Jun 2005 16:26
22 lines
1837 bytes
1837 bytes
Ramy wrote: >Also, i have found that for Parity = '1' i need to write - > >BuildCommDCB( ":19200, M, 8, 1", &my_DCB ); // 'M' For MARKPARITY Yes, I mentioned that in my first message. <quote> > strcat( com_params, ":9600, N, 8, 1" ); // Prepare COM Parameters Change the N to the proper value. Not 100% sure about m and s, but probably N, O, E, M, S </quote> >>Sorry, but there is still a problem, as i understand from your >>reply i should use 'BuildCommDCB' OR 'SetCommState', NOT both, No, what I said was either build the DCB by hand or build it with the function call, but not both, then once it is built, use it in SetCommState()
Technical Details
Message-ID:
<k3or91l09sbctes6n8hqu46mcjc25prbg3@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<429c92d6$1@newsgroups.borland.com> <gu4p919ougmd71vo7hs649g486n3j525f0@4ax.com> <429c9779$1@newsgroups.borland.com> <429d6712$1@newsgroups.borland.com> <429da1cb$1@newsgroups.borland.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: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Sorry...... Still Not Working...... Date: Wed, 01 Jun 2005 09:26:30 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <k3or91l09sbctes6n8hqu46mcjc25prbg3@4ax.com> References: <429c92d6$1@newsgroups.borland.com> <gu4p919ougmd71vo7hs649g486n3j525f0@4ax.com> <429c9779$1@newsgroups.borland.com> <429d6712$1@newsgroups.borland.com> <429da1cb$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.154.209 X-Trace: newsgroups.borland.com 1117643188 67.77.154.209 (1 Jun 2005 09:26:28 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail