Help Wanted

C++ serial library – evdude

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
What's the serial library for C++ ?

------------------
-Evdude

"trust in the lord with all your heart and lean not on your own understanding, in all your way's, acknowledge him and he will direct your path" proverbs 3:5-6

Briant

Member

Posts: 742
From: Stony Plain, Alberta, Canada
Registered: 01-20-2001
There isn't any standard library, since it would depend on your hardware, your operating system, etc. However, there are several examples you can use and/or learn from at The Code Project and The Code Guru websites.

------------------
Brian

"OOP programmers have a lot of class"

Check out this webhost! Fantastic prices, features and support!

HanClinto

Administrator

Posts: 1828
From: Indiana
Registered: 10-11-2004
Like for communicating on a serial port?

I'm assuming this is for Windows?

A little more specifics would help get you better answers.

Just as a general answer, you may find this article to be a good information source.

--clint

evdude

Member

Posts: 135
From: Earth Orbit
Registered: 03-14-2007
quote:

Like for communicating on a serial port?

I'm assuming this is for Windows?


yes and yes

Thanks for the replys

------------------
-Evdude

"trust in the lord with all your heart and lean not on your own understanding, in all your way's, acknowledge him and he will direct your path" proverbs 3:5-6

[This message has been edited by evdude (edited July 02, 2007).]

samw3

Member

Posts: 542
From: Toccoa, GA, USA
Registered: 08-15-2006
I don't think there is anything that is standard for a hardware port. The reason for this is that c++ came out of unix world and *nix uses tty's to tie to hardware ports. Anyways, maybe try this MFC class. Things might be different in the .NET world though.

God Bless!

------------------
Sam Washburn

[This message has been edited by samw3 (edited July 02, 2007).]