By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,148 Members | 1,379 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,148 IT Pros & Developers. It's quick & easy.

Serial Port Code

P: n/a
KP
I am trying to send a string over serial RS-232 to another computer and
wanted to use VC++. Is there some sample code/template I could follow ?

It is not very complicated... just somethign that opens the port and writes
into it.... and closes the port.

Thanks
-k
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
KP wrote:
I am trying to send a string over serial RS-232 to another computer and
wanted to use VC++. Is there some sample code/template I could follow ?

It is not very complicated... just somethign that opens the port and writes
into it.... and closes the port.


This news group deals with "Standard C++". The standard describes
nothing about serial communications.

This is where you can go to get the scoop.
http://msdn.microsoft.com/library/de..._resources.asp

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.