@ -32,6 +32,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
if (existingApp)
{
SendMessage(existingApp, WM_DESTROY, 0, 0);
Sleep(2000); // give the other App some time to clean up and close
}
/* This is the handle for our window */