-
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要...
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要的,本文介绍了两种精确计时的方法,计时的精度可以达到ms级,而且可以认为它是精确的,可以在大多数情况下作为时间的基准。-under Windows precision timing and the selection of high-frequency events in the development of Windows applications, we often need to use the time, especially in some of the high demand on time the procedure, the accuracy of time is very important, this paper introduces two methods of precision timing, timing accuracy can be achieved ms level, but also that it is accurate, in most cases, as time benchmarks.
- 2022-02-16 10:03:00下载
- 积分:1
-
很好用的 电梯程序。
很好用的 电梯程序。-good use of the lift procedures.
- 2022-07-01 21:51:56下载
- 积分:1
-
通过setupapi安装驱动,可以制作成dll接口用来安装程序调用
通过setupapi安装驱动,可以制作成dll接口用来安装程序调用-Setupapi install the drive through, you can make a dll interface for call setup
- 2022-05-17 23:24:49下载
- 积分:1
-
电子邮件客户端,包括邮件收发功能。。。。需要设置smtp。。。pop方可连接制定服务器进行邮件收发...
电子邮件客户端,包括邮件收发功能。。。。需要设置smtp。。。pop方可连接制定服务器进行邮件收发-E-mail clients, including e-mail to send and receive functions. . . . Need to set up smtp. . . before connecting the development of pop mail server
- 2022-11-28 13:25:05下载
- 积分:1
-
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大...
局域网文件传输
为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大家可以在本机上测试,自己传文件给自己)。所以,我们在程序中需要使用两个Winsock控件,一个负责监听,一个负责发送,当发送端连接成功以后,便选择一个待发送的文件(可以是任意二进制文件),接着将文件名和文件字节长度发送给接收端,接收端收到这个消息以后,将文件名和文件长度解析出来,然后通知发送端可以开始发送文件;发送端读到这个消息之后,将文件流以字节的形式发送到接收端,接收端收到后,将二进制流回写,保存成文件即可。这里要注意两点,一个是由于Winsock每次最大传输8K的内容,所以需要将文件分解,每次传输固定数目的字节流,这样发送和接收时都可以根据这个数目来判断文件传输的进程,一旦字节流数目等于文件的大小,就需要关闭相应的文件句柄;另一点是由于我只使用一个Winsock控件接收,接收文本时需要注意要将UNICODE转码,解析成可识别的信息。
-LAN file transfer to uniform design and user convenience, we hope it will end service and client together and form a process so that users understand, a more intuitive 1:00 (in fact, do so in order to facilitate debugging, you can test the machine, its own text- items for himself). Therefore, we need procedures in the use of two Winsock Control, a charge of wiretapping, a charge of this, when the transmitter connects successfully, it will be a choice to send the document (can be arbitrary binary files), will then file names and the
- 2022-04-14 22:25:12下载
- 积分:1
-
winsock program
winsock编程-winsock program
- 2022-05-27 20:37:53下载
- 积分:1
-
特征码定位器可以根据机器码找到代码所在的内存地址,是定位CALL的好工具...
特征码定位器可以根据机器码找到代码所在的内存地址,是定位CALL的好工具-Signature locator can be found under the binary code where the memory address is the better instrument positioning CALL
- 2022-07-17 08:42:10下载
- 积分:1
-
c++沉思录完整版,很经典的C++书,有很多关于程序设计技术方面的话题。...
c++沉思录完整版,很经典的C++书,有很多关于程序设计技术方面的话题。-c++ meditation full version, it is classic C++ book, there are many technical aspects of program design on the topic.
- 2022-01-28 14:21:28下载
- 积分:1
-
漂亮的confirm,想要用的时候new一个就行了
漂亮的confirm,想要用的时候new一个就行了-Beautiful confirm, when you want to use the new one on the list
- 2022-09-11 19:55:03下载
- 积分:1
-
一个简单的学生算术练习的程序,适合刚刚学习编程的同学
一个简单的学生算术练习的程序,适合刚刚学习编程的同学-a simple arithmetic students practice procedures, just learning program for students
- 2022-03-26 12:10:29下载
- 积分:1