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

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

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

  • 托盘的功能实现,对于学习十分有用.建议新手学习使用
    托盘的功能实现,对于学习十分有用.建议新手学习使用-Realization of the function tray for the study very useful. Recommended novice learning to use
    2022-01-24 16:31:34下载
    积分:1
  • C++ Primer的随书源代码,强烈建议你下载并理解其中代码含义,多动手!...
    C++ Primer的随书源代码,强烈建议你下载并理解其中代码含义,多动手!-C Primer book with the source code, it is strongly recommended you download code and understand the meaning, more hands!
    2023-09-03 16:25:02下载
    积分:1
  • 基于三星2440串口的简单测试程序,可以进行接收和送的检测
    基于三星2440串口的简单测试程序,可以进行接收和发送的检测-Samsung Serial simple test procedure can receive and send Detection
    2022-03-21 22:55:22下载
    积分:1
  • 一个简单的万年历系统 支持对年月的查找功能
    一个简单的万年历系统 支持对年月的查找功能-A simple calendar system Support for the shaping of search function
    2022-04-21 13:27:45下载
    积分:1
  • ●WinPopup增强版及VC++源程序 409K 2004
    ●WinPopup增强版及VC++源程序 409K 2004-12-23 这是一个免费的用于局域网的消息传送小工具, 您可以用它来取代Windows 自带的WinPopup.EXE,和后者比较它有以下特点:消息可以自动保存, 根据您的选择最多可以保存 30 天;消息大小不再限制在 38 字节, 每条消息最多可以达到 400 字节;对单个计算机发出的消息, 可以要求接收方确认"已收到";可以广播消息到局域网中的多个工作组;可将它缩小为系统状态条图标, 当有消息到达时, 它可以发出声音或闪动图标加以提醒;可定制的消息文本显示字体和颜色;可选择让它开机自动运行;自动收集网络信息, 您可以在“网络邻居”列表中选择接收人, 而不是手工输入它。压缩包中含有可执行程序和源代码。-enhanced version and VC source 409K 2004-12-23 This is a free for LAN messaging small tool, you can use it to replace the Windows WinPopup.EXE, and the latter is more it has the following features : automatic preservation news, according to your choice of the most more can be preserved for 30 days; news is no longer limited to the size of 38 bytes each message can be up to 400 bytes; right individual information from the computer, the receiving party may request confirmation "has received"; news to be broadcast a number of LAN Working Group; it can be reduced to the system- state of the icon, when news arrived, it emits sounds or flashing icon t
    2022-06-20 23:13:46下载
    积分:1
  • 转换字符串和二进制之间的SID
    Converting SIDs Between Strings and Binary
    2022-03-11 07:41:07下载
    积分:1
  • server for simcom modules.use this for communication
    server for simcom modules.use this for communication
    2022-03-23 23:02:30下载
    积分:1
  • 编程微码domotic和PWM
    应用背景这一计划ejecutable EN microdode德联合国比如de domotica PA microcontroladores DE系列16f6877a硒encuentra el档案馆ejecutable Y EL关键技术是一个程序commenzar旁一programar EN C EN EL程序微码EN EL CUALñpuede SER aplicado一mayores计划
    2022-03-29 18:25:35下载
    积分:1
  • SUN Xin teachers on the network programming, programs written in my personal not...
    孙鑫老师讲解的网络编程,程序中我个人写的注释特别详细,很适合初学者学习-SUN Xin teachers on the network programming, programs written in my personal notes in particular detail, it is suitable for beginners to learn
    2023-09-08 19:20:03下载
    积分:1
  • Wind the film version of professional v3.7 Sql open
    乘风电影v3.7 Sql版 专业的开的-Wind the film version of professional v3.7 Sql open
    2022-02-21 07:04:33下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载