#include <iostream>
#include <windows.h>
using namespace std;
int g_nNum;
int main()
{
cout << "hello" << endl;
HANDLE h = CreateMutex(NULL, true, "xone");
if (GetLastError() == ERROR_ALREADY_EXISTS)
{
if (h)CloseHandle(h);
MessageBox(0, "xnoe already return", "", 0);
return -1;
}
getchar();
return 0;
}