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

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

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

  • VB代码编辑框滚轮支持插件的源代码,学习如何写VB插件。
    VB代码编辑框滚轮支持插件的源代码,学习如何写VB插件。-VB code edit box roller support plug-source code, learn how to write VB plug-ins.
    2023-07-25 09:35:03下载
    积分:1
  • 视觉小游戏,可运用到多媒体中,光点追踪闪烁, 值得参考,运行通过,做了一些优化....
    视觉小游戏,可运用到多媒体中,光点追踪闪烁, 值得参考,运行通过,做了一些优化.-Visual game can be applied to multimedia, optical point tracking blinking, it is also useful, run through, to do some optimization.
    2022-10-28 17:20:04下载
    积分:1
  • 操作系统实验,内存的管理,实现了首次适应算法及循环首次适应算法,功能较好,并有实验结果及统计...
    操作系统实验,内存的管理,实现了首次适应算法及循环首次适应算法,功能较好,并有实验结果及统计-experimental operating system, memory management, for the first time algorithm to adapt and adapt to the first cycle of algorithms, function better, and experimental results and statistics
    2022-12-31 21:40:03下载
    积分:1
  • 小木偶Win32汇编教学,将离线版本。之间的有限..
    小木偶Win32汇编教学,整理后的离线网页版本。MASM32或TASM代码。-small puppet Win32 compilation teaching, putting the offline version. Between code or TASM.
    2022-01-25 22:22:15下载
    积分:1
  • MFC编的简单数据库操作,实现数据库的一般操作,适合初学者理解MFC及数据库的基础知识...
    MFC编的简单数据库操作,实现数据库的一般操作,适合初学者理解MFC及数据库的基础知识 -MFC for simple database operations, the realization of the general operation of the database is suitable for beginners to understand the basis of MFC and database knowledge
    2022-04-16 15:14:51下载
    积分:1
  • This procedure can replace a simple ASP page code dynamic content is static HTML...
    本程序可以替换简单的ASP动态页代码内容为HTML静态页,比较灵活,好的话大家可以完善,如果不怎么样,就当看看吧!-This procedure can replace a simple ASP page code dynamic content is static HTML pages, more flexible, good, then we can improve, if not up to much, let" s see it on when!
    2022-04-19 10:54:53下载
    积分:1
  • voici les coulour dans dbgrid
    评论公平 des couleur dans le 模块 dbgrid il 存在 des 方案倾吐公平 ca mais en va 公平与 la programmation 心理学家 cette 电信业为例 les couleur sont le blanc et 博杜对不起 le 改良剂类 eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
    2022-03-23 19:55:25下载
    积分:1
  • MIS procedure is the kind of staff management procedures, procedures friendly in...
    本程序是MIS类的员工管理的程序,程序界面友好,应该有较高的利用价值-MIS procedure is the kind of staff management procedures, procedures friendly interface, should have a higher value
    2022-01-25 16:59:51下载
    积分:1
  • wince EVC 简单的图片浏览功能,自已随意扩展 支持 *.bmp *.jpg *.gif *.png 等等 // TODO: Add yo...
    wince EVC 简单的图片浏览功能,自已随意扩展 支持 *.bmp *.jpg *.gif *.png 等等 // TODO: Add your control notification handler code here CString defFilter("选中其中一个文件|*.bmp *.jpg *.gif *.png") CFileDialog dlg(TRUE,NULL,NULL,OFN_ALLOWMULTISELECT,defFilter) if(dlg.DoModal()==IDOK){ PathName=dlg.GetPathName() }-wince EVC simple picture browsing, support the expansion of their own free*. bmp*. jpg*. gif*. png, etc.// TODO: Add your control notification handler code hereCString defFilter (
    2023-04-14 17:00:03下载
    积分:1
  • 图书管理系统
    图书馆管理系统是一门新学科它是一个由人、计算机等组成的能进 图书管理系统软件;行管理信息的收集、传递、加工、保存、维护和使用的系统.图书馆管理系统能实测国民经济和企业的各种运行情况;利用过去的数据预测未来;从企业全局出发辅助企业进行管理决策;利用信息控制企业的行为;帮助企业实现其规划目标.图书馆管理系统合运用了管理科学,系统科学,运筹学,统计学,计算机科学等学科的知识.可以通俗的简化的描述图书馆管理系统的三要素:系统的观点、数学的方法以及计算机的应用.图书馆管理系统概念结构主要由四大部分组成即信息源、信息处理器、信息用户、信息管理者组成.
    2022-07-27 00:55:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载