Determine external executable program

Hi,


I start in a MFC application an external executable program,for example(mspaint.exe).

I use Visual C++ 6.0


my code:

ShellExecute(NULL,"open","mspaint.exe",NULL,NULL,SW_SHOW);

mspaints starts,

Now I need to determine this mspaint application again.

How I can do this ??

In advance thank you for your help.

sz6gz8
Last edited on
Now I need to determine this mspaint application again.


What do you mean with that?
What do you want to do with the program ?
Topic archived. No new replies allowed.