🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: # Send Data to COM

#4685
From: Pedram
Date: Thu, 01 Dec 2005 23:34
38 lines
2601 bytes
Hi Mr Michel :-)
Thanks for your reply, first of all your last guide to bcbdev and msdn was
greate !
I read them but I couldn't find the part of baud rate setting, although
there was some in DBC but first of all I dont know what is that and after
all it need a header file that I couldn't understand what it was.
The biggest problem is I know how to write port programms by old functions
like inp() outp() inport() outport() using
#include "bios.h" !!! but this header file also is forgotten and ingnored in
BCB.
Anyway,
I'm completely new to using WriteFile() for sending data to COM ports, so
please excuse me for my rudness :">
If I say I need a more source I mean needing a (Hello Port!)  App. :-)
After a while...
I find http://www.codeproject.com/system/chaiyasit_t.asp
Thanks to *you* , other friends that reply me and everybody who are using
BCB products :-D


> 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.
>
> 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: <43903be3@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-mail
References: <438b18ee@newsgroups.borland.com> <k3tmo1lqum0cd2kc3ia6a2tr5gcnd8oea9@4ax.com> <438ec31c@newsgroups.borland.com> <438f2127$1@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
From: "Pedram" <irbus@remove-me-bonbon.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <438b18ee@newsgroups.borland.com> <k3tmo1lqum0cd2kc3ia6a2tr5gcnd8oea9@4ax.com> <438ec31c@newsgroups.borland.com> <438f2127$1@newsgroups.borland.com>
Subject: Re: # Send Data to COM
Date: Fri, 2 Dec 2005 03:04:29 +0330
Lines: 40
Organization: Sepand Minoo
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2479.0006
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
NNTP-Posting-Host: 217.219.57.33
Message-ID: <43903be3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133525987 217.219.57.33 (2 Dec 2005 04:19:47 -0700)
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