vb语言,通过调用MSComm控件,显示串口传输的数据
VS2010MFC没有串口控件,此压缩包里包含了串口控件相关的3个文件。mscomm32.ocxMSCOMM32.ocaMSCOMM32.DEPMSCOMM.SRG将这几个文件拷贝到一个固定的目录下
MSComm控件,串口通讯必备工具!包括控件详细的说明,例子及注册方法!
将其中的MSCOMM32.OCX、MSCOMM32.dep、MSCOMM32.reg放至windows的system32文件夹下。运行本资源中的install.bat即可自动完成控件注册。
MSCOMM32.OCX,串口控件,包含注册方法
介绍了VC中MSComm控件的属性及其用法,并给出了通过文本方式读写数据的代码。
Mscomm串口编程简单例子,希望对大家有帮助
文档内包含串口控件MSCOMM32.OCX,可以实现对本地计算机串口的访问和数据收发。具体安装调试方法见txt文档。
最简单的例子,实现两个对话框程序的字符串收发
操作串口的控件OCX