-
串行通讯是目前计算机、通信和控制领域最基本的通信方式。在CSDN的“嵌入式开发/WINCE”社区中,经常有人提问该到哪找串口通讯类,其实这个问题我自己也问过。:...
串行通讯是目前计算机、通信和控制领域最基本的通信方式。在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
- 2022-05-21 18:26:03下载
- 积分:1
-
Print "1942年德国数学家哥德巴赫给数学家欧拉的一封信中,"
Print "提出了把一个整数表示成两个素数之和的推测,"
Print "即一个充...
Print "1942年德国数学家哥德巴赫给数学家欧拉的一封信中,"
Print "提出了把一个整数表示成两个素数之和的推测,"
Print "即一个充分大的偶数(大于等于6),"
Print "总可以分解为两个素数之和,"
Print "编写Visual Basic程序来验证这一猜想"
Print "单击开始......"
-Print
- 2022-10-13 14:05:03下载
- 积分:1
-
具有飞机订票的所有文档:测试分析报告、总结性报告等等。
具有飞机订票的所有文档:测试分析报告、总结性报告等等。-This is the flying word!!
- 2023-02-02 12:05:04下载
- 积分:1
-
用于读取文件中的数据!和数据的写入!是C++语言做成,如有错误请多多指教
!...
用于读取文件中的数据!和数据的写入!是C++语言做成,如有错误请多多指教
!-Used to read data file! And data write! Is C++ Language made if there is an error please advise!
- 2023-01-29 18:25:03下载
- 积分:1
-
利用ANF快速计算椭圆曲线上的标量乘法
利用miracl大数库,利用椭圆曲线快速实现算法ANF计算椭圆曲线上的单标量乘法
- 2023-03-30 21:25:04下载
- 积分:1
-
用Visual C++编写的窗口生成的代码,很容易理解Windows程序…
采用Visual C++编写的窗口产生代码,便于理解Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系-Using Visual C++ Prepared window generated code, easy to understand Windows program to run the principle and procedure of the preparation process, the process window, handle theory, message queues, callback function, the window closed with the application to withdraw from the working relationship between
- 2022-09-03 06:35:03下载
- 积分:1
-
不错的变色龙游戏
不错的变色龙游戏-good chameleon game
- 2022-03-29 08:53:15下载
- 积分:1
-
读一个只包含+,
读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。
-Read one contains only+,-,*,/terms of non-negative integer expression, calculate the value of the expression.
- 2022-07-21 14:26:05下载
- 积分:1
-
移动设备& gt;NET框架3.5计算器和图形
Mobile device >NET framework 3.5 Calculator and graphics-Mobile device >NET framework 3.5 Calculator and graphics
- 2022-01-20 23:26:47下载
- 积分:1
-
two hours to complete coverage, interface can also achieve. Only reference
java 完成二分覆盖问题,界面实现还可以。仅供参考-two hours to complete coverage, interface can also achieve. Only reference
- 2022-02-03 14:13:05下载
- 积分:1