why so? do u mean similar to 'if (!service->GetRunningApplication())' ?