-
lx2
用Socket实现两台计算机上的对话,是将客户端与服务端合二为一(Dialogue on the two computers using the Socket)
- 2012-04-24 13:38:29下载
- 积分:1
-
vscap
屏幕录制程序 联合开发网 - pudn.com
- 2020-06-16 10:20:01下载
- 积分:1
-
win32封装(含最新版win32 api chm文档)
首先,我对于本文的作者骗人的行为很不爽,从开篇来看是详细分析 API 的文章,但是这部分内容只有 18 面,后边的大量篇幅全是 API 函数大全。很明显,这是一篇拼凑出来的东西,为了刷分用的,所以我特意重新发出来,免费之!不过前面这段文字对于 API 入门确实挺有用,值得看看。如果想深入点学习 API,强烈推荐 VB 学习之 API 教程系列(共七课)。网上有单独的章节,我在另一个文档中已经将七课合并,并且加入补充章节----《逻辑坐标与设备坐标》,免去大家来回找的麻烦。一、API 是什么?这个我本来不想说的,不过也许你知道其它人不知道,这里为了照顾一下新手,不得不说些废话,请大家谅解。Win32 API 即为 Microsoft 32 位平台的应用程序编程接口(Application ProgrammingInterface)。所有在Win32 平台上运行的应用程序都可以调用这些函数。使用 Win32 API,应用程序可以充分挖掘 Windows 的 32 位操作系统的潜力。Mircrosoft的所有 32 位平台都支持统一的 API,包括函数、结构、消息、宏及接口。使用 Win32 API不但可以开发出在各种平台上都能成功运行的应用程序,而且也可以充分利用每个平台特有的功能和属性。以上为 API 的相关介绍,不过有些新手看了以后可能还是不怎么明白 API 到底有什么用?这里请不要着急,如果你有足够耐心的话,请慢慢往下看。二、如何使用 API?估计这才是大家真正关心的,那么如何使用 API 呢?在了解 API 之前,先打开你的 VB书,翻到过程函数这章来,在搞清楚 API 之前应该先搞懂过程函数是怎么一回事!如果你还不知道过程的工作方式,那么请先不要急着往下看,那样容易走很多弯路。好了,当你理解了过程函数时,也就是你可以使用 API 的时候了,别把 API 看得太难,你就像使用过程函数一样使用 API 就可以了。首先,让我们看看一个简单的 API,以下:Private Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)以上这个 API 的呢是起一个延时作用。你如果是刚接触 API 的话可能会感到 API 的书写及其复杂,而且会感到很不适应。其实这没什么的,慢慢习惯就好了。至于 API 这些复杂的书写你就不用操心了,在你安装 VB 的时候微软已经帮我们带上了 API 浏览器,这些全部都可以利用 API 浏览器帮我们自动生成。API 浏览器的位置位于[开始菜单-程序-Microsoft Visual Basic 6.0 中文版-Microsoft Visual Basic 6.0 中文版工具-API 文本浏览器]。打开 API 浏览器,在最上面的一个文本框中输入 Sleep,这时下面列表框中就会自动显示相应的 API 函数,然后点右边添加按钮即可,接着点击复制按钮,这时你就可以用 Ctrl V把声明的 API 添加到 VB 代码窗口中了。
- 2015-01-04下载
- 积分:1
-
Round
It is a VC++ program.The interface of program is round and other anomalous shape.(It is a VC++ Program.The interface of program is round and other anomalous shape.)
- 2009-01-19 09:05:29下载
- 积分:1
-
VC_MFC-Sample1
Microsoft Visual C++ MFC串口通信编程详解,主要介绍了用CreateFile()函数和WriteFile()函数读写串口的实例,以及设置
串口属性的实例.
在工业控制中,工控机(一般都基于 Windows 平台)经常需要与智能仪表通过串口
进行通信.串口通信方便易行,应用广泛.
一般情况下,工控机和各智能仪表通过 RS485 总线进行通信.RS485 的通信方式是
半双工的,只能由作为主节点的工控 PC 机依次轮询网络上的各智能控制单元子节点.
每次通信都是由 PC 机通过串口向智能控制单元发布命令,智能控制单元在接收到正
确的命令后作出应答.
(Microsoft Visual C++ MFC serial communication programming explain CreateFile () and WriteFile () function to read and write the serial port of the instance, and set the serial port attribute instance in industrial control, IPC (generally based on the Windows platform) often need to communicate with the smart meter through the serial port serial communication easy and widely used normal circumstances, the IPC and intelligent instrument through RS485 communication RS485 communication is half-duplex, only as the primary node industrial PC turn polling network intelligent control unit child nodes. every communication from a PC via the serial port to issue commands to the intelligent control unit, intelligent control unit receives the correct command response.)
- 2012-10-11 07:23:02下载
- 积分:1
-
CAN_DSP28335
说明: 控制器局域网总线(CAN,Controller Area Network)是一种用于实时应用的串行通讯协议总线,它可以使用双绞线来传输信号,是世界上应用最广泛的现场总线之一。CAN协议用于汽车中各种不同元件之间的通信,以此取代昂贵而笨重的配电线束。该协议的健壮性使其用途延伸到其他自动化和工业应用。CAN协议的特性包括完整性的串行数据通讯、提供实时支持、传输速率高达1Mb/s、同时具有11位的寻址以及检错能力。(Controller area network bus (CAN Controller, Area Network) is a serial communication protocol for real-time application of the bus, it can use a twisted pair to transmit the signal, is the world's one of the most widely used field bus. The CAN protocol is used to communicate between different components of an automobile to replace the expensive and bulky wiring harness. The robustness of the protocol extends its use to other automation and industrial applications. The characteristics of CAN protocol include serial data communication, integrity to provide real-time support, the transmission rate of up to 1Mb/s, also has 11 bit addressing and error detection capability.)
- 2017-06-24 17:08:47下载
- 积分:1
-
一个opengl实现的游戏引擎没,学习的好资料
包含了游戏的基本界面 地形场景的设计,任务漫游,其中包含了opengl的基础知识的运用,包含贴图,光照,粒子系统,和地形的计算等。
- 2023-06-09 17:40:09下载
- 积分:1
-
SENSOR_suhu_baru
calculating CRC from digital and analog input
- 2013-02-26 07:01:26下载
- 积分:1
-
nrf24L01
nrf24L01 2.4 g h Z 无线收发模块
- 2023-07-28 20:55:02下载
- 积分:1
-
shizhong
利用51单片机(AT89S52)的P1口对8位数码管的段位进行控制,用P2口对8位数码管的位数进行控制。(P1 port 51 microcontroller (AT89S52) control with 8 digital tube Dan P2 port to control the number of bits of the 8-bit digital tube)
- 2012-12-09 14:19:37下载
- 积分:1