统计程序实例的个数
摘要:
/**********windows核心编程实例17-AppInst**********//***展示:应用程序如何知道在任一时刻有多少个自己的实例正在运行***/#include <windows.h>#include "resource.h"int g_uMsgAppInstCountUpdate = WM_APP + 123;#pragma data_seg("Shared")volatile LONG g_lApplicationInstances = 0;#pragma data_seg()#pragma comment(linke 阅读全文
posted @ 2011-08-10 17:28 tujiaw 阅读(204) 评论(0) 推荐(0)
浙公网安备 33010602011771号