Article View: borland.public.cppbuilder.nativeapi
Article #4579Re: Very Slow communication Init on Windows-98, why?
From: Stefan Kvist
Date: Thu, 12 Jan 2006 22:07
Date: Thu, 12 Jan 2006 22:07
24 lines
1690 bytes
1690 bytes
"Ram" <Ram@NoSpam.com> skrev i meddelandet news:43c619d9$1@newsgroups.borland.com... > > Sorry it should be: > > > TxBuff[0] = 0xAA; > TxBuff[1] = 0xBB; > TxBuff[2] = 0xCC; > > Result = WriteFile( hndl, TxBuff, 3, &written, NULL ) > > . > . After rereading the original question I realize that I might have been to quick to suggest this solution. When you are sending with parity, is that 8 bits plus parity? If so, then my solution won't work as that would require the character size to be set to 9 bits. The solution I suggested only works with 7 bits or less plus parity. Stefan Kvist
Technical Details
Message-ID:
<43c6d285$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43c24b5a$1@newsgroups.borland.com> <43c57fb1$1@newsgroups.borland.com> <43c61801$1@newsgroups.borland.com> <43c619d9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,35fcdf173fbb2ee3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Stefan Kvist" <stefan(dot)kvist(at)linkoping(dot)mail(dot)postnet(dot)se> Newsgroups: borland.public.cppbuilder.nativeapi References: <43c24b5a$1@newsgroups.borland.com> <43c57fb1$1@newsgroups.borland.com> <43c61801$1@newsgroups.borland.com> <43c619d9$1@newsgroups.borland.com> Subject: Re: Very Slow communication Init on Windows-98, why? Date: Thu, 12 Jan 2006 23:07:21 +0100 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 213.114.29.116 Message-ID: <43c6d285$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137103493 213.114.29.116 (12 Jan 2006 14:04:53 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail