Software Development Network>> VS Express Editions>> how to prevent multiple instances of my program?
Try this... ( to be placed at the beginning of the _tWinMain() function if using C++ Express )CreateMutex(NULL, TRUE, (LPCWSTR)
how to prevent multiple instances of my program?
Mikey Stevey
Roger Haight MSFT
Try this... ( to be placed at the beginning of the _tWinMain() function if using C++ Express )
"TESTAPP_MUTEX_NAME");CreateMutex(NULL, TRUE, (LPCWSTR)
if( GetLastError() == ERROR_ALREADY_EXISTS )
return FALSE;