-
利用vc实现了一个非常漂亮的滚动静态文本
利用vc实现了一个非常漂亮的滚动静态文本-use vc achieve a very beautiful rolling static text
- 2022-12-22 10:20:03下载
- 积分:1
-
Tree views are capable of storing hierarchical data, which isn t intuitively ser...
Tree views are capable of storing hierarchical data, which isn t intuitively serialized. The TreeStore sample is an MDI application which shows a view based on CTreeView and demonstrates loading and saving the content of the control with MFC s CArchive-based serialization. The code is also rife with calls to the item navagation routines of CTreeCtrl, including GetNextSiblingItem(), GetPrevSiblingItem(), and GetParentItem().
- 2023-02-07 18:10:04下载
- 积分:1
-
有限自动机的确定华,NFA到DFA的转变。
有限自动机的确定华,NFA到DFA的转变。-Ascertain of finite auto-machine , from NFA to DFA.
- 2022-02-21 19:57:31下载
- 积分:1
-
WSDN 天气预报实时显示系统源码 下载 WSDN WEB图章自动生成系统的数据库实现,可添加或修改(删除)城市的天气情况,通过数据库显现在图片上,采用Micr...
WSDN 天气预报实时显示系统源码 下载 WSDN WEB图章自动生成系统的数据库实现,可添加或修改(删除)城市的天气情况,通过数据库显现在图片上,采用Microsoft公司C#.NET(GDI+)技术开发.-WSDN forecast real-time display system source code download WSDN WEB seal automatic generation system, the database can be added or modified (deleted) city weather conditions through the database appear in the pictures, using Microsoft C#.NET (GDI) technology.
- 2022-06-12 19:58:31下载
- 积分:1
-
WIN ZIP主题
这是完整的医药店管理软件是设计来缓解医疗专业人士的工作负荷。主要功能包括进销存,库存和库存控制,会计,客户和供应商的管理。这个软件可以帮助你追踪所有的利润,损失,为医疗店提供更好的 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-08-13 10:44:42下载
- 积分:1
-
拖放文件,可将程序拖放到列表中,显示其绝对路径
拖放文件,可将程序拖放到列表中,显示其绝对路径-Drag and drop document can be drag and drop procedure to the list, indicating their absolute path
- 2023-07-23 10:40:03下载
- 积分:1
-
文件修改监控
ReadDirectoryChangesW 有同步和异步2种方式,
根据前面打开的文件夹对象句柄决定。
1. 异步方式,如果 CreateFile 指定了打开类型 FILE_FLAG_OVERLAPPED 就是异步方式,ReadDirectoryChangesW 调用的时候就需要指定 OVERLAPPED 参数.
接下来对文件夹I/O变化的响应判断有多种方式。
A通过不断的调用HasOverlappedIoCompleted函数(非阻塞,参数就是前面的OVERLAPPED 对象指针)的返回值来判断是否发生了 关注文件句柄的I/O操作。如果发生变化,再执行你的 switch(Buffer[0].Action) 操作过程。
B GetOverlappedResult 读取 OVERLAPPED 对象的结果。(阻塞)
C 完成端口 GetQueuedCompletionStatus (阻塞)。
其中阻塞方式,必须采用多线程的方式,否则你的主线程被阻塞的话,对话框就动不了了。非阻塞方式也可用多线程,结合hEvent对象来使用。
2.同步方式,如果CreateFile不指定FILE_FLAG_OVERLAPPED ,就是同步方式。
同步方式操作比较简单。lz的程序看来就是使用的同步方式。
在同步下,ReadDirectoryChangesW 将被阻塞,直到一个文件夹句柄的I/O操作到来,然后才能判断。所以lz的程序会死掉。
同步方式必须采用多线程,再创建一个线程,线程函数采用如下方式:
UINT ThreadProc(PVOID)
{
CreateFile();
while(1) // 如果只想监视一次文件的I/O变化,可不用while循环。
{
- 2022-03-10 05:44:52下载
- 积分:1
-
书中的一个经典实例,在此摘录出来,让C++此方面编程的朋友可以更容易的找得到,压缩包内有3种识别技术的算法实例,需要慢慢研究哦。...
书中的一个经典实例,在此摘录出来,让C++此方面编程的朋友可以更容易的找得到,压缩包内有3种识别技术的算法实例,需要慢慢研究哦。-A classic example of the book, in this excerpt from, let C++ This regard programming friends can more easily find, compressed packet, there are three kinds of algorithm to identify examples of technologies, the need to study slowly Oh.
- 2022-01-31 08:57:09下载
- 积分:1
-
Hot Air BalloonUp, Up and Away!上升、 然后消逝而去
Hot Air BalloonUp, Up and Away!上升、 然后消逝而去-Hot Air BalloonUp, Up and Away! Rose, and then disappeared off
- 2023-05-23 15:00:03下载
- 积分:1
-
WaveCom GSM 2403A chip information. Rar
WaveCom GSM 2403A芯片资料.rar-WaveCom GSM 2403A chip information. Rar
- 2022-04-26 21:55:17下载
- 积分:1