How can I detect if a particular application is running?
| Tue, 2005-09-13 14:06 | |
|
I have an EXE monitor, that listens to the particular events and when specific event combination occurs, it should launch some Application. However, after application is laucnhed and until it is closed by user I need the monitor to ignore events. Is there a way to discover if the particular application is already running and to be notified when it is closed? |
|






Forum posts: 214
{
TFindProcess process;
TInt found=0;
TFullName repName;
while(process.Next(repName) != KErrNotFound)
{ if(repName.Find(name) != KErrNotFound)
{ found++;
}
}
return found;
}
"I only know that I know nothing." (Socrates)
Forum posts: 78
What about the second question? Is there some way to be notified when particular application is closed? I wouldn't like to run the timer and periodically manually check if app is still running.
Compilable Symbian Code Examples