Article View: borland.public.cppbuilder.nativeapi
Article #4782Re: # Send Data to COM
From: Michel Leunen
Date: Thu, 01 Dec 2005 16:14
Date: Thu, 01 Dec 2005 16:14
34 lines
2502 bytes
2502 bytes
Pedram wrote: > The samples are talking about yo write a file to COM ports > but my new hardware (electronic project) is designed for baud rate 9600 > I dont know but when I use those source it doesn't work at all. > I mean, I know how to write files to COM > But I have to know how could I write a Character, and then a sery of > characters to COM1 with baud rate 9600 and some other settings, the MSDN and > other help files didn't tell me how Are you kidding? I pointed you to bcbdev which contains a class you can download. You can do *exactly* what you want with this class. After I gave you a link to the MSDN article explaining serial communications. It even contains sample code showing what you need. And now you are asking for more code: > Please :-) Please guide me to write a simple BCB5 source code. > in this source I need to change my needed settings (baudrate etc...) and > then write a character or a sery of it to COM1. Did you try to read or use what I and others told you? If you need more sample code, do a search with google. We will not write the code for you. Sorry. Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Technical Details
Message-ID:
<438f2127$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<438b18ee@newsgroups.borland.com> <k3tmo1lqum0cd2kc3ia6a2tr5gcnd8oea9@4ax.com> <438ec31c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eed65ef52aa9d642 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 01 Dec 2005 17:14:13 +0100 From: Michel Leunen <nospam@noreply.please> Organization: www.leunen.com User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: fr-be, en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: # Send Data to COM References: <438b18ee@newsgroups.borland.com> <k3tmo1lqum0cd2kc3ia6a2tr5gcnd8oea9@4ax.com> <438ec31c@newsgroups.borland.com> In-Reply-To: <438ec31c@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.246.244.71 Message-ID: <438f2127$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1133453607 81.246.244.71 (1 Dec 2005 08:13:27 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail