摘要: 首先是方法: // IsAlreadyRunning - 是否已经运行 BOOL IsAlreadyRunning() { BOOL bRet = FALSE; HANDLE hMutex = ::CreateMutex(NULL, TRUE, _szAppName); if (GetLastError() == ERROR_ALREADY_EXISTS) { ... 阅读全文
posted @ 2016-07-29 10:02 程序员丁 阅读(2563) 评论(0) 推荐(0) 编辑