-
介绍:
介绍如何在Win32中处理串口。串口通讯可以通过多种技术实现,例如:ActiveX,I/O存取和文件操作。本文介绍Win32平台下通过文件操作技术使...
介绍:
介绍如何在Win32中处理串口。串口通讯可以通过多种技术实现,例如:ActiveX,I/O存取和文件操作。本文介绍Win32平台下通过文件操作技术使用串口。程序员可以使用 Microsoft Visual C++ Version 6.0所提供的kernel32.lib。在Microsoft Windows(2000,Me,XP and 95/98)中,串口作为文件处理。因此可以通过Windows文件创建函数打开串口。
文章不仅介绍了串口通讯,也介绍了在串口通讯应用程序中实现多任务,多任务可以使串口通讯应用程序在同一时间处理更多的任务,例如:读数据任务,发送数据任务,GUI任务等。-Introduction: Introduction of how to deal with Win32 serial port. Serial communication can realize through a variety of technologies, such as: ActiveX, I/O access and file operations. This article describes the Win32 platform by file operation technique using the serial port. Programmers can use Microsoft Visual C++ Version 6.0 provided by kernel32.lib. In Microsoft Windows (2000, Me, XP and 95/98), the serial port as a file handle. Windows files can be created through the open serial port function. Article not only introduces serial communications, also introduced in the serial communication applications realize multi-tasking, multi-mission can make serial communication applications at
- 2022-01-22 06:22:02下载
- 积分:1
-
介绍一种使用VC++ ATL(Active Template Library),利用IDTExtensibility2接口,为Microsoft Word加入功...
介绍一种使用VC++ ATL(Active Template Library),利用IDTExtensibility2接口,为Microsoft Word加入功能简单的COM插件(addin),加入工具栏按钮和菜单等可视部件,并为其加入响应事件的方法,并在最后简单说明了实现与Office宏混合编程的方法-A VC ATL (Active Template Library), using IDTExtensibility2 interface for Microsoft Word functional simple plug-COM (addin) accession toolbar buttons and menus, and other visual components, and its accession to respond to the incident, and the final realization of a simple statement with the Office Acer mixed programming method
- 2022-02-14 19:38:28下载
- 积分:1
-
控件mscomm的串口测试程序,适合于初学者
控件mscomm的串口测试程序,适合于初学者-MSComm serial control test procedures, suitable for beginners
- 2022-03-17 17:55:17下载
- 积分:1
-
visual basic 6 aplication
visual basic 6 aplication
- 2022-02-18 13:59:05下载
- 积分:1
-
use five minutes, adds to the functionality flash player flash player is the use...
利用五分钟,给程序添加播放flash的功能flash的播放,是使用Macromedia的flash播放控件来播放flash步骤如下:建立一个单文档的程序,最后一步选择CFormView作为视图编辑视图的资源添加一个EditBox作为输入文件名,一个按钮播放。添加flash播放控件Project Add To Project Components and Controls Gallary选择:Registered ActiveX Controls文件夹下面的Shockwave Flash Object,它其实是指向c:winntsystem32macromedFlashFlash.ocx的。利用向导添加两个变量,分别对应输入的文件名和flash控件 CString m_filename CShockwaveFlash m_flash 添加播放按钮的事件,打开flash文件并且播放void CViewFlashView::OnPlay() { // TODO: Add your control notification handler code here //CShockwaveFlash UpdateData() m_flash.LoadMovie(0,m_filename) m_flash.Play() }-use five minutes, adds to the functionality flash player flash player is the use of the Macromedia flash player to player flash control steps are as follows : the creation of a single document the procedures, the last step CFormView choose Edit View View as the resources to add a EditBox as input file name, according to a NIU players. Adding flash player Control Project# 61664; Add To Project# 61664; Components an
- 2022-02-01 12:32:15下载
- 积分:1
-
时钟控制
时钟控制
- 2022-07-13 06:48:49下载
- 积分:1
-
Access2000下内部COM插件编程示例
Access2000下内部COM插件编程示例-Access2000 under internal plug-COM programming examples
- 2023-06-10 14:55:03下载
- 积分:1
-
Visual C++实践与提高系列丛书
Visual C++实践与提高系列丛书-COM&COM+(源代码)-Visual C Practice and improve Series-COMCOM (source code)
- 2023-05-06 06:20:02下载
- 积分:1
-
Resources to run the contents of the VBS, the upcoming VBS into EXE
运行资源内容中的VBS,即将VBS转换成EXE-Resources to run the contents of the VBS, the upcoming VBS into EXE
- 2022-04-11 11:30:54下载
- 积分:1
-
一个很好的COM组件用于初学者学习和使用很方便的。
一个很好的COM组件用于初学者学习和使用很方便的。-a good COM for beginners learn and very easy to use.
- 2022-10-09 06:05:02下载
- 积分:1