-
利用Windows的未公开函数SHChangeNotifyRegister实现文件目录操作即时监视程序,可以监视在Explore中的重命名、新建、删除文件或目录...
利用Windows的未公开函数SHChangeNotifyRegister实现文件目录操作即时监视程序,可以监视在Explore中的重命名、新建、删除文件或目录;改变文件关联;插入、取出CD和添加删除网络共享都可以被该程序记录下来。 -The use of Windows, not a public function SHChangeNotifyRegister file directory operations to achieve real-time monitoring program that can monitor the Explore the re-naming, new, delete files or directories change the file association to insert, remove the CD and add remove network share can be recorded, the program down.
- 2023-04-02 02:05:03下载
- 积分:1
-
For many to learn English for business friend plays a significant role.
对许多要学习英语用来谈生意的朋友有很大作用。-For many to learn English for business friend plays a significant role.
- 2022-05-29 21:14:06下载
- 积分:1
-
支持复选功能树控件的下拉框
支持复选功能树控件的下拉框-support of the right of election control function tree drop-box
- 2022-03-16 04:26:51下载
- 积分:1
-
VB中制作半透明窗体
VB中制作半透明窗体-VB production translucent Window
- 2022-05-26 16:06:49下载
- 积分:1
-
一个线程池的一个类,基本使用如下:
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connecti
- 2022-07-17 05:14:52下载
- 积分:1
-
VC毛玻璃
#define GDIPVER 0x0110 //定义高版本的GDI+(1.1)
#include
#include
#include
#include
#include
#pragma comment(lib,"GdiPlus.lib")
using namespace Gdiplus;
#include
#pragma comment(lib,"dwmapi.lib")
//Aero效果是否已启用
BOOL IsCompositionEnabled()
{
BOOL bEnabled,bResult;
bResult = (SUCCEEDED(DwmIsCompositionEnabled(&bEnabled)) && bEnabled);
return bResult;
}
//对已分层的窗口启动玻璃效果
HRESULT EnableBlurBehindWindow(HWND hWnd, //窗口句柄
BOOL bEnable = TRUE, //启用或禁用
HRGN hRgn = 0, //模糊窗体中某个区域
BOOL bTransitionOnMaximized = FALSE) //最大化时是否启用
{
DWM_BLURBEHIND blurBehind = { 0 };
blurBehind.dwFlags = DWM_BB_ENABLE | DWM_BB_TRANSITIONONMAXIMIZED;
blurBehind.fEnable = bEnable;
blurBehind.fTransitionOnMaximized = bTransitionOnMaximized;
if (bEnable && hRgn != NULL)
{
blurBehind.dwFlags |= DWM_BB_BLURREGION;
blurBehind.h
- 2023-05-01 15:10:04下载
- 积分:1
-
i.MX27 OAL WINCE6.0
i.mx27 oal for wince6.0
- 2023-07-19 19:10:03下载
- 积分:1
-
这个是我开始接触编程时的想法,想通过仅用数据库,不采用sock来实现一个简单的在局域网内的聊天室,我想这个想法很多人都有过。这个程序本身没什么价值,只是一来把自...
这个是我开始接触编程时的想法,想通过仅用数据库,不采用sock来实现一个简单的在局域网内的聊天室,我想这个想法很多人都有过。这个程序本身没什么价值,只是一来把自己当初的设计与大家分享,二来是有鉴于网上对ADO控件的使用这方面的介绍不是很多,自己算是抛砖引玉吧。-this my first contacts with the idea of programming, database only want to do so to achieve a sock simple LAN in the chat room, I think a lot of people have ideas too. This procedure itself no value, but one to their original design to share with you, to the Internet is given the right to use ADO this presentation is not very large, is to initiate it themselves.
- 2022-01-25 14:51:39下载
- 积分:1
-
开源的PHP POS为中小型企业
Open source PHP POS for small to medium sized companies
- 2022-03-10 01:37:15下载
- 积分:1
-
可以直接对硬盘进行物理操作的代码
可以直接对硬盘进行物理操作的代码-can drive directly to the physical operation of the code
- 2022-10-30 15:45:03下载
- 积分:1