-
串行通讯是目前计算机、通信和控制领域最基本的通信方式。在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
-
[原創][c++][winsock] 簡單的訊息、檔案網路傳輸範例程式[client-server]
资源描述
一個簡單的網路傳輸範例程式
由client端輸入指令來控制檔案傳輸
====使用方法====
先設定server端:
可任意輸入server的port number
server開啟接聽埠
client端:
輸入server的ip及port number
連線成功即可開始傳輸
輸入HELP可以查看指令
=============
編譯前要確定Linker有加上-lws2_32
祝您玩的愉快^^
- 2022-04-01 17:57:55下载
- 积分:1
-
VC 内部COM插件的编程实现
VC 内部COM插件的编程实现--The programing of com plug-in in vc
- 2022-07-10 08:42:51下载
- 积分:1
-
图像的裁剪样本
ImageCropping Sample
- 2022-01-24 13:48:45下载
- 积分:1
-
终端编程代码Eterm
终端编程代码Eterm-0.9.2.tar.gz-terminal programming code Eterm- 0.9.2.tar.gz
- 2022-11-30 20:15:08下载
- 积分:1
-
当你自己电脑上面设置了一个非常好看的屏保而你又想随时看到它时,这个程序就会很实用了...
当你自己电脑上面设置了一个非常好看的屏保而你又想随时看到它时,这个程序就会很实用了-When you set up a computer above the screen is very nice and you want to see it at any time, this process will be a very practical
- 2022-01-25 19:12:42下载
- 积分:1
-
用c++写的一个飞行射击游戏,有积分升级,刺激!
用c++写的一个飞行射击游戏,有积分升级,刺激!-Using c++ to write a flight shooting game, there are points to upgrade to stimulate!
- 2022-02-26 16:07:14下载
- 积分:1
-
CSS 模拟圆角按钮
有点击效果的
需要 jQuery
CSS 模拟圆角按钮
有点击效果的
需要 jQuery-make round corners button use css
- 2023-08-08 18:00:04下载
- 积分:1
-
WPF PDF 查看器
简介: 在这个项目中使用 Adobe PDF 阅读器 COM 组件并包装为 WPF 控件。背景: WPF / C# 有没有内置的控件/库来支持 PDF,这个项目演示了如何在 WPF 中轻松查看 PDF 文档。
- 2022-04-10 00:27:37下载
- 积分:1
-
在程序中如何获得和修改目录的日期和时间,包括源玛,编译后的文件...
在程序中如何获得和修改目录的日期和时间,包括源玛,编译后的文件-the process on how to obtain and modify the directory date and time, including the source of Thomas and compiled the documents
- 2022-02-26 08:44:09下载
- 积分:1