登录
首页 » Menu菜单 » 1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为t...

1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为t...

于 2022-01-22 发布 文件大小:899.55 kB
0 244
下载积分: 2 下载次数: 1

代码说明:

1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。 2. BOOL OnComportOpen() 根据串口设置文件中的设置参数,打开多串口。 3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind) 往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。 4.void OnMscommsSet() 打开串口设置界面,改变串口设置,并保存到设置文件中。 5.BOOL OnComportTimerProcess(CString strProcess[MaxPort]) 判断串口接收的一组数据是否已经接收完。 6. BOOL OnPopupDialog() 打开串口收发数据显示调试界面。 7. BOOL OnGetPortUse(unsigned int uiCom) . 判断指定串口是否使用。 8. BOOL OnGetPortExit(unsigned int uiCom) 判断指定串口在本机上是否存在。 9. void OnPortClose(unsigned int uiCom) 关闭指定串口。 10. void OnPortOpen(unsigned int uiCom) 打开指定串口。 11. void OnCloseAllPorts() 关闭所有串口。 12. void OnOpenAllPorts() 打开所有串口。 -1.BOOL OnCommsCreate (CWnd* pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 替换开始菜单的程序源代码
    替换开始菜单的程序源代码-Sourcecode for replacing the start menu
    2022-07-17 22:05:33下载
    积分:1
  • 菜单和标题栏的创建
    菜单和工具栏的创建与添加的方法,有助于你提高对这方面认识,帮助你学习哦
    2022-03-19 07:35:34下载
    积分:1
  • vc++可视化编程,包括菜单,工具栏,状态栏的控件,压缩…
    vc++可视化编程,包括菜单工具条状态栏的控件,压缩包里面的是源代码,可直接运行。-vc++ visual programming, including the menu, tool bar status bar controls, compressed packets inside the source code can be directly run.
    2022-03-05 11:55:03下载
    积分:1
  • VC produced a similar WORD navigation menu Demonstration Program
    一个利用VC++制作的类似WORD导航菜单的演示程序-VC produced a similar WORD navigation menu Demonstration Program
    2023-05-03 10:10:03下载
    积分:1
  • Right
    很酷的右键弹出菜单,绝对值得,代码简单,下载后直接使用 -Right-cool pop-up menu, is worth, the code is simple, downloaded directly use
    2022-07-03 07:30:06下载
    积分:1
  • Java编写的具有XP风格的菜单,提供学习之用
    Java编写的具有XP风格的菜单,提供学习之用-written in Java with XP-style menus, with the provision of learning
    2023-01-24 14:25:03下载
    积分:1
  • 这是个在MDI中的右键菜单的例子,并且做了分割,大家可以参考参考!...
    这是个在MDI中的右键菜单的例子,并且做了分割,大家可以参考参考!-This is in the MDI menu in the example, and make the partition, we can refer to reference!
    2022-03-20 00:38:38下载
    积分:1
  • 自定义图标的自画菜单(for winnt and 2000)
    自定义图标的自画菜单(for winnt and 2000)-since the definition of icon painting from the menu (for winnt and 2000
    2023-07-05 00:30:03下载
    积分:1
  • 本文对电子图书。这里的JBuilder 9 JBuild java基础教程…
    ・此文件为电子书籍。求这里的 ・jbuilder 9 基础教程 jbuild ・JAVA程序员必读基础篇 J2ME ・java编的学生信息管理系统, ・经典JAVA试题,对JAVA中出现 ・21天学通Java 2,很好的JA ・java编程思想,这是一本很好 ・《Junit In Action》是一本 ・此文件为电子书籍。求这里的 ・Thinking_in_Java的一篇读后 -this paper to electronic books. Here for the JBuilder 9 basis Guide jbuild Java programmers required reading for the project J2M E java series of the Student Information Management System, classic JAVA questions, right JAVA appeared 21 days learning Java-2, JA good java programming ideas, This is a very good "Junit In Action" is a file for e-books. Here for a reading of Thinking_in_Java
    2022-02-06 10:36:49下载
    积分:1
  • menu bar add menu components. With the pop
    菜单栏添加菜单组件。与弹出式菜单应用实例。-menu bar add menu components. With the pop-up menu application examples.
    2022-02-24 13:16:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载