登录
首页 » Windows开发 » 串行通讯是目前计算机、通信和控制领域最基本的通信方式。在CSDN的“嵌入式开发/WINCE”社区中,经常有人提问该到哪找串口通讯类,其实这个问题我自己也问过。:...

串行通讯是目前计算机、通信和控制领域最基本的通信方式。在CSDN的“嵌入式开发/WINCE”社区中,经常有人提问该到哪找串口通讯类,其实这个问题我自己也问过。:...

于 2022-05-21 发布 文件大小:5.53 kB
0 189
下载积分: 2 下载次数: 1

代码说明:

串行通讯是目前计算机、通信和控制领域最基本的通信方式。在CSDN的“嵌入式开发/WINCE”社区中,经常有人提问该到哪找串口通讯类,其实这个问题我自己也问过。:)而一般的回答是给你提供一个Pocket PC 2002的SDK例子程序。但到底SDK的程序和MFC的结构有很大的不同,对于想用MFC编写通信程序的人来说也不是很便利。 另一方面,由于Windows CE是一个基于Unicode的操作系统,并且Windows CE不支持Windows下常用的串行通信重叠I/O方式(OVERLAPPED),因此编写Windows CE下的串口通讯类有一些与桌面Windows不同的地方。 以下是我从SDK程序改写而来的MFC类,希望能和致力于WINCE开发的朋友多多交流,由于本人才疏学浅,程序中有许多不完善的地方,请大家指正。我的程序是基于“主动发送请求,被动接收响应”的假设,因此我只设置了一个接收数据的线程。-serial communication is the computer, communications and control areas the most basic means of communication. Bringing in the "Embedded Development/pulled" communities, it was often the question where to find serial communications, in fact, the question I have asked. :) And the general answer is to provide you with a Pocket PC 2002 SDK examples procedures. But in the end SDK MFC procedures and the structure are quite different, MFC prepared to use communication program who is not very convenient. The other hand, is a Windows CE-based Unicode operating system, Windows C

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

发表评论

0 个回复

  • VC++6.0粒子群源代码,搜索速度极快,简单实用!
    VC++6.0粒子群源代码,搜索速度极快,简单实用!-VC++ 6.0 Particle Swarm source code, the search extremely fast, simple and practical!
    2022-03-11 19:40:12下载
    积分:1
  • on assembly language, the flower design (3). The use assembly language to achiev...
    基于汇编语言的电子琴设计(3).运用汇编语言实现-on assembly language, the flower design (3). The use assembly language to achieve
    2022-02-28 13:18:04下载
    积分:1
  • VC++6.0调试通过。单文档MFC程序中,随时捕获鼠标的状态,并显示在状态栏中。包括坐标、按键、时间等状态信息...
    VC++6.0调试通过。单文档MFC程序中,随时捕获鼠标的状态,并显示在状态栏中。包括坐标、按键、时间等状态信息
    2022-01-26 14:12:57下载
    积分:1
  • [1] 考勤时间=2005
    [1] 考勤时间=2005-10-27 员工编号=1 状态=迟到 上班时间(早)=16:59:40 备注=无 [2] 考勤时间=2005-10-27 员工编号=2 状态=迟到 上班时间(早)=16:59:40 备注=无 [3] 考勤时间=2005-10-27 员工编号=3 状态=迟到 上班时间(早)=16:59:40 备注=无 [6] 考勤时间=2005-10-27 员工编号=6 状态=早退 上班时间(早)=上午 18:52:45 备注=无 下班时间(晚)=上午 18:52:45 [5] 考勤时间=2005-10-27 员工编号=5 状态=早退 上班时间(早)=上午 19:01:40 备注=无 下班时间(晚)=上午 19:01:40 [4] 考勤时间=2005-10-27 员工编号=4 状态=早退 上班时间(早)=上午 19:04:14 备注=无 下班时间(晚)=上午 19:04:14 -[1] time = 2005-10-27 employees attendance number = 1 state = late working hours (early) = 16:59:40 Note = No [2] time = 2005-10-27 employees attendance number = 2 status = late working hours (early) = 16:59:40 Note = No [3] time = 2005-10-27 employees attendance number = 3 state = late working hours (early) = 16:59:40 Note = No [6] Attendance time = 2005-10-27 employee ID = 6 state = leave early to go to work hours (early) = 18:52:45 AM Remarks = no working hours (late) = 18:52:45 AM [5] attendance period = 2005-10-
    2022-08-15 07:26:19下载
    积分:1
  • 教师参加培训智能管理系统
    基于ASP.NET的教师参加培训智能管理系统,包括培训项目申请、审批、培训日志、总结的填写,培训期间费用的报账功能,以及领导人审批等功能。
    2022-03-10 04:03:30下载
    积分:1
  • 基于STM32智能灯控制系统
    2023-05-26 10:30:05下载
    积分:1
  • 动态连接库演示制作
    动态连接库演示制作-DLL produced demo
    2022-03-16 18:04:30下载
    积分:1
  • OpenGL 室内三维建模
    利用OpenGL和dxf格式的CAD图纸进行建筑的建模
    2022-10-03 23:10:06下载
    积分:1
  • WindowsXPE Development Guide! English original! Strongly recommended! WindowsXPE...
    WindowsXPE开发指南!英文原版!强力推荐!WindowsXPE开发工程师必备资料!谁说不好,谁没良心!-WindowsXPE Development Guide! English original! Strongly recommended! WindowsXPE development engineers required information! Who says well, who uncaring!
    2022-06-22 04:50:17下载
    积分:1
  • Graphics when used in the treatment of the division, and directly editing the di...
    在处理图形时用于除法的进行,直接编辑出除法来-Graphics when used in the treatment of the division, and directly editing the division to
    2022-07-10 04:37:27下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载