Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to disable dual client

Newbie Spellweaver
Joined
Mar 14, 2012
Messages
95
Reaction score
7
Basic.cpp
const char szUniqueNamedMutex[] = "MiniA.exe";
HANDLE hHandle = CreateMutex( NULL, TRUE, szUniqueNamedMutex );
if( ERROR_ALREADY_EXISTS == GetLastError() )
{
MessageBox ( NULL,"Game is already executed, Multiple Execution is prohibited!", "MiniA.exe", MB_OK );
return FALSE; // Exit program
}
 
Upvote 0
Back
Top