C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Serial

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Kandy
Guest





PostPosted: Fri Sep 24, 2004 12:13 pm    Post subject: Serial Reply with quote



Hi,
I need to write a program for use a serial port. I'm using the Borland C++
5.5 I tried to use the old method with the library bios.h but this library
does not come with the borlad. Propabilbly it can not be use with windows
XP.
I do not have a very strong experience in C++ someone can help me with a
little demo?

p.s.
I do not know how to use the object programmation. For this reason I need
something that will run in a dos shell.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Back to top
JKop
Guest





PostPosted: Fri Sep 24, 2004 12:15 pm    Post subject: Re: Serial Reply with quote



Kandy posted:

Quote:
Hi,
I need to write a program for use a serial port. I'm
using the Borland
C++ 5.5 I tried to use the old method with the library
bios.h but this
library does not come with the borlad. Propabilbly it can
not be use
with windows XP.
I do not have a very strong experience in C++ someone can
help me with
a little demo?

p.s.
I do not know how to use the object programmation. For
this reason I
need something that will run in a dos shell.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News
=-----
http://www.newsfeeds.com - The #1 Newsgroup Service in
the World!
-----== Over 100,000 Newsgroups - 19 Different Servers!
=-----



In Windows, use the "OpenFileEx" function to open a port. I
believe you specify the filename as something like:

\*\COM1

msdn.microsoft.com will tell you more.


-JKop

Back to top
Victor Bazarov
Guest





PostPosted: Fri Sep 24, 2004 1:36 pm    Post subject: Re: Serial Reply with quote



Kandy wrote:
Quote:
I need to write a program for use a serial port. I'm using the Borland C++
5.5 I tried to use the old method with the library bios.h but this library
does not come with the borlad. Propabilbly it can not be use with windows
XP.
I do not have a very strong experience in C++ someone can help me with a
little demo?

Yes, someone in a Borland newsgroup or in a Windows newsgroup can. C++ as
it is discussed here, in comp.lang.c++, does NOT have any mechanisms to
access and/or control hardware. You need to use OS-specific means.

BTW, 'bios.h' is not a library. It's a header.

V

Back to top
Gerhard Wesp
Guest





PostPosted: Mon Sep 27, 2004 8:37 am    Post subject: Re: Serial Reply with quote

Kandy <nasoni (AT) gmail (DOT) com> wrote:
Quote:
I do not have a very strong experience in C++ someone can help me with a
little demo?

I have a serial port platform-independent interface (so we're at least
somewhat on-topic Smile and Microsoft-Windows specific implementation in
cpp-lib. See http://www.cosy.sbg.ac.at/~gwesp/ .

Cheers
-Gerhard
--
Gerhard Wesp o o Tel.: +41 (0) 43 5347636
Bachtobelstrasse 56 | http://www.cosy.sbg.ac.at/~gwesp/
CH-8045 Zuerich _/ See homepage for email address!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.