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

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

于 2022-05-21 发布 文件大小:5.53 kB
0 278
下载积分: 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 个回复

  • 用基于变治法的堆排序算法对任意一组给定的数据进行排序 设计与实现堆排序算法; 2)待排序的数据可以手工输入(通常规模比较小,10个数据左右),用以检测程...
    用基于变治法的堆排序算法对任意一组给定的数据进行排序 设计与实现堆排序算法; 2)待排序的数据可以手工输入(通常规模比较小,10个数据左右),用以检测程序的正确性;也可以计算机随机生成(通常规模比较大,1500-3000个数据左右),用以检验(用计数法)堆排序算法的时间效率。-Variable-based treatment of the heap sorting algorithm to a set of arbitrary data set to sort the design and implementation of heap sort algorithm 2) to be sort of data can be entered manually (usually relatively small size of about 10 Data), to detect the correctness of the procedure also can be randomly generated computer (usually relatively large-scale data ,1500-3000 or so), to test (with counting) time sorting algorithm reactor efficiency.
    2022-07-22 21:14:31下载
    积分:1
  • 用java做出来的计算器的小程序大家多指教
    用java做出来的计算器的小程序大家多指教-Out to do with java applet calculator U.S. and more advice
    2022-01-28 22:02:48下载
    积分:1
  • Calculation of arbitrary square matrix eigenvalue eigenvector VC++ Source
    计算任意方矩阵特征值特征向量的VC++源码-Calculation of arbitrary square matrix eigenvalue eigenvector VC++ Source
    2022-02-20 06:50:23下载
    积分:1
  • Dll compiled a message box systems, functions and the same for Windows
    编写成一个Dll的系统消息对话框,功能和Windows提供的一样-Dll compiled a message box systems, functions and the same for Windows
    2022-06-20 08:25:25下载
    积分:1
  • 矩阵运算,包括求逆矩阵,扩展矩阵等多项运算功能
    矩阵运算,包括求逆矩阵,扩展矩阵等多项运算功能-Matrix operations, including inverse matrix, the expansion of a wide range of computing functions of matrices
    2022-07-27 19:24:27下载
    积分:1
  • Apple公司Darwin流式服务器源代码分析
    Apple公司Darwin流式服务器源代码分析-Apple" s Darwin Streaming Server source code analysis
    2022-03-28 11:47:18下载
    积分:1
  • 不错的VB程序,可以实现不同的笑脸显示,我在网上找到的推荐给大家...
    不错的VB程序,可以实现不同的笑脸显示,我在网上找到的推荐给大家-good VB program, can achieve different faces, I find the recommendation of the Internet for everyone
    2023-01-03 07:55:06下载
    积分:1
  • Ayer-anba学校管理系统
    这是基于小学和初中阶段的信息系统。该程序是非常简单,它可以注册课程,添加学生、 找到的学生、 更新的学生,或删除学生。同时它具有登录和不同身份验证为普通用户、 书记官长和学校管理员。因为学校管理者要负责即使在创建新用户。这就是它。也是市民可以有能力,看看怎么回事,与这所学校的主页面。最重要,它也有学生年级搜索按钮。例如,如果学生想要看到他/她的分数报告它是容易走右侧的菜单,请单击"CheckResult",然后只对他/她的 ID,它将便于学生得到他/她的成绩。 命令名称就像: studGrade、 studReg、 studDel 和一些像这样。这只是意味着学生成绩、 学生删除、 学生注册或注册学生。 它是完美的工作,但可能需要检查和编辑
    2022-05-21 20:19:21下载
    积分:1
  • 详细讲解怎样将密码储存在程序中
    详细讲解怎样将密码储存在程序中-explain in detail how to password stored in the proceedings
    2022-01-25 14:27:47下载
    积分:1
  • Kinect2 显示图像的程序
    这个代码基于opencv 和 kinect sdk2.0 用了C++语言写了如何导出rgb camera的color图像。环境是win8, VS特别适合用c++为kinect 2 编程的初学者 
    2022-03-16 16:54:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载