Article View: borland.public.cppbuilder.internet.socket
Article #2561spcomm errors
From: Adam
Date: Mon, 27 Mar 2006 09:57
Date: Mon, 27 Mar 2006 09:57
17 lines
1619 bytes
1619 bytes
could you check what's wrong with the codes below? Thank you very much.
//----initializtion serial port & open
it -----------------------------------------------------------------------
void __fastcall TForm3::BitBtn1Click(TObject *Sender)
{
this->Comm1->CommName=this->ComboBox1->Text; //number serial port
this->Comm1->BaudRate=StrToInt(this->ComboBox2->Text); //baud rate
this->Comm1->ByteSize=StrToInt(this->ComboBox3->Text); // data bits
this->Comm1->StopBits=StrToInt(this->ComboBox4->Text); // data stop bits
this->Comm1->Parity=this->ComboBox5->Text; // parity check
this->Comm1->XoffLimit=500; //send buffer capascity
this->Comm1->XonLimit=500; // Receive Buffer capacity
this->Comm1->StartComm();
}
Technical Details
Message-ID:
<4427b714@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4b3cbff2fccdb65f,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Adam" <support@borlandBBS.cn> Newsgroups: borland.public.cppbuilder.internet.socket Subject: spcomm errors Date: Mon, 27 Mar 2006 17:57:35 +0800 Lines: 19 Organization: akzo X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 59.36.37.190 Message-ID: <4427b714@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1143453460 59.36.37.190 (27 Mar 2006 01:57:40 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail