hi everyone.........
i need a c++ program that can help me in chatting through serial port from one pc to another........
only i want to sen and recieve charactors..........
thank you........
daniyal_riaz 0 Newbie Poster
Recommended Answers
Jump to PostThis has been discussed many times before, even quite recently.
Plus you need to tell us which Operating system and Compiler you're using, since standard C++ knows nothing about serial ports.
Jump to Post> i m using standard c++
Great, that really clears things up for us :icon_rolleyes:> i need a complete program on it.
I'm sure you do.
And I'm also sure I could post one which works on my machine, but does nothing on yours.
Why, because you've not …
Jump to PostOK, so post one of your programs and lets see what we can make of it.
Oh, and drop all the ... at the end of each line, it's not adding anything.
Jump to PostSince you're using VC6, it would be better to use a win32 API function to open the serial port, such as CreateFile
CreateFile Function
Creates or opens a file, file stream, directory, physical …
All 14 Replies
Salem 5,265 Posting Sage
daniyal_riaz 0 Newbie Poster
#include<DAN.h> -4 Light Poster
Salem 5,265 Posting Sage
Jishnu commented: Absolutely :) +2
daniyal_riaz 0 Newbie Poster
Salem 5,265 Posting Sage
daniyal_riaz 0 Newbie Poster
Jishnu 160 Posting Pro
Salem 5,265 Posting Sage
daniyal_riaz 0 Newbie Poster
dot.muffin 0 Newbie Poster
Salem 5,265 Posting Sage
daniyal_riaz 0 Newbie Poster
dot.muffin 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.