and by bailing I mean that this code should be if (hFirstInstancnceWnd != NULL) { bring to front, send wm_copydata, return 0 } so we can fall through, create the mutex etc if it fails.