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

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

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

  • ImageWithTransparency source code for Visual Studio 2005 by VB
    visualstudio2005用VB编写的ImageWithTransparency源代码
    2022-02-09 21:21:07下载
    积分:1
  • DIBR用于合成立体图片
    根据原始彩色图和对应的深度图,通过DIBR合成方法得到立体图片。首先对深度图像进行形态学处理,以减少视点变换产生的空洞,平滑目标视点内部的物体轮廓;利用视点变换方程生成目标视点;对含有空洞的目标视点采用图像修复算法进行后处理,设计了含有深度项的代价函数,在深度的约束下进行纹理搜索,将最佳匹配块填补到空洞;在修复空洞的过程中采用亮度优先的策略以适应不同的色度采样格式。
    2022-01-23 11:01:49下载
    积分:1
  •  JAVA以其跨平台的特性深受人们喜爱,而又正由于它的跨平台的目的,使得它和本地机器的各种内部联系变得很少,约束了它的功能。解决JAVA对本地操作的一种方法就是...
     JAVA以其跨平台的特性深受人们喜爱,而又正由于它的跨平台的目的,使得它和本地机器的各种内部联系变得很少,约束了它的功能。解决JAVA对本地操作的一种方法就是JNI。   JAVA通过JNI调用本地方法,而本地方法是以库文件的形式存放的(在WINDOWS平台上是DLL文件形式,在UNIX机器上是SO文件形式)。通过调用本地的库文件的内部方法,使JAVA可以实现和本地机器的紧密联系,调用系统级的各接口方法。 -JAVA characteristics of its cross-platform very popular, and because it is the purpose of cross-platform, making it the local machine to become small internal contact, the functions of its binding. JAVA solution on the local operation is a method of JNI. JAVA through JNI to call native methods, and the local method is based on the form of library files stored (in the WINDOWS platform are on the form of DLL files, in the UNIX machines are SO on the form of a document). By calling the local library file internal methods, so that JAVA and local machine can achieve close contact, call the system-level methods of the interface.
    2022-08-19 07:40:31下载
    积分:1
  • 随机产生存储空间大小,文件的个数及大小,并且在程序运行时显示出各文件占用空间的情况。...
    随机产生存储空间大小,文件的个数及大小,并且在程序运行时显示出各文件占用空间的情况。-Make the content of storage space and the number or content of files at random
    2023-06-27 11:40:04下载
    积分:1
  • hge基础教程
    该文件对于初学游戏2d基本hge引擎有着最大的帮助,只需几天的时间就能掌握hge基本的用法。
    2022-02-06 08:46:25下载
    积分:1
  • 存取注册表的类用c编的
    存取注册表的类用c编的-access to the registry with the class c series
    2022-03-20 12:06:17下载
    积分:1
  • many video playback software or video editing software to build frames for the f...
    很多视频播放软件或视频编辑软件都提供了抓帧的功能,本代码就实现此功能.-many video playback software or video editing software to build frames for the functions of the code on the realization of this function.
    2022-03-16 12:05:43下载
    积分:1
  • To test the document should be the first to start UdpServer server
    、测试该文件时应首先启动UdpServer的服务器端,接着启动myUdpClient的客户端软件。 3、在myUdpClient项目文件中myUdpClient.cs文件的56行为连接到远程服务器端的IP地址,这里为本地IP地址,实际使用时应相应更改。 以上软件是需要注册才能长期正常使用的软件,请大家支持正版软件的使用-To test the document should be the first to start UdpServer server-side, and then start the myUdpClient client software. 3, myUdpClient project documents myUdpClient.cs file 56 acts to connect to the remote server-side IP address, where the local IP address, the actual use should be changed accordingly. The above software is required to be registered in order to long-term normal use of the software, please support the use of genuine software
    2022-07-20 00:11:13下载
    积分:1
  • 用 VB 做的一个 232
    用 VB 做的一个 232-485 抄表程式(上海04版),还有其它的(hz218@sina.com) -This program is used for 232-485 writting form(Shang Hai 04 version) and written by VB language, other version please contact my email address.(hz218@sina.com)
    2022-01-26 07:43:25下载
    积分:1
  • 用数组解JOSEPHUS问题的程序源码,绝对没有错误
    用数组解JOSEPHUS问题的程序源码,绝对没有错误-array solution with the procedures JOSEPHUS source, there is no wrong
    2023-09-03 15:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载