如何在C ++中对COM(串行)端口进行编程? [英] How to program COM (Serial) Port in C++?

查看:69
本文介绍了如何在C ++中对COM(串行)端口进行编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
谢谢合作.什么是COM端口编程结构的处理.
问候,
Naraayanan

Hi Friends,
Thanks for Co-Operation. What is the Processing Of COM Port Programming Structure.
Regards,
Naraayanan

推荐答案

您无法解释的内容不能具有结构.您的项目的目的是未知的.端口就是端口.您可以修改通信参数(可选),读取端口,从端口写入.其他一切都取决于您.它的行为类似于读/写文件/流.

—SA
Something you don''t explain cannot have structure. The purpose of your project is unknown. The port is just port. You modify communication parameters (optionally), read to port, write from port. Everything else is up to you. It behaves like read/write file/stream.

—SA


在CodeProject上有几篇关于COM(串行)端口编程的文章.

此外,请查看此MSDN文章: http://msdn.microsoft.com/en-us /library/ms810467.aspx [ ^ ]
There are several articles here on CodeProject about COM (serial) port programming.

In addition, take a look at this MSDN article: http://msdn.microsoft.com/en-us/library/ms810467.aspx[^]


这篇关于如何在C ++中对COM(串行)端口进行编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆