|)4NT3
09.06.2010, 16:49
#include <windows.h>
using namespace std;
char my_mutex[] = "c0D3718yD4n73";
int main(int argc, char *argv[])
{
HANDLE xetum;
xetum = CreateMutex(NULL, FALSE, my_mutex);
if (GetLastError() == ERROR_ALREADY_EXISTS)
ExitProcess(0);
//////// Mutex ende /////////////
// mach was ....
system("PAUSE");
return 0;
}
using namespace std;
char my_mutex[] = "c0D3718yD4n73";
int main(int argc, char *argv[])
{
HANDLE xetum;
xetum = CreateMutex(NULL, FALSE, my_mutex);
if (GetLastError() == ERROR_ALREADY_EXISTS)
ExitProcess(0);
//////// Mutex ende /////////////
// mach was ....
system("PAUSE");
return 0;
}