HANDLE hMutex = CreateMutex(NULL,FALSE,"xxexe"); // 运行一次

if(hMutex == NULL || ERROR_ALREADY_EXISTS == ::GetLastError())

{

return 0;

}