check another app is stoping or running in main app?
Posted on 2006-11-29
Hi expert, i have question, can help you?
My main app call another app (app2) with parameters to do a thing.
Calling by ShellExcute,
ShellExcute(NULL, _T("Open"), app2 ,param list, NULL, SW_SHOW)
//check whether app2 stop or not
//if stop will do next steps else wait for complete....
Now, i would like to know (by coding) when app2 will end, so that i can go to next step for the main app
Can anyone show me code how to do. I need this as soon as posible