HANDLE hMutex = CreateMutex(NULL,FALSE,"xxexe"); // 运行一次
if(hMutex == NULL || ERROR_ALREADY_EXISTS == ::GetLastError())
{
return 0;
}
HANDLE hMutex = CreateMutex(NULL,FALSE,"xxexe"); // 运行一次
if(hMutex == NULL || ERROR_ALREADY_EXISTS == ::GetLastError())
{
return 0;
}
转载于:https://www.cnblogs.com/jerry1999/archive/2011/04/04/3677360.html