Determine When shelled process end 
Author Message
 Determine When shelled process end

I have tried the sample fro kb Q129796 and it work's as it is. But if
you change the execute file from notepad.exe to explorer.exe then the
WaitForSingleObject don't work..
Does any one have any idea why..


Sat, 30 Nov 2002 03:00:00 GMT  
 Determine When shelled process end
I think the problem lies with the fact that explorer is never unloaded until
you shut down the machine.  You may want to poll to check to see if the
Window exists to determine when the process has "finished".  See the WinAPI
FindWindow function.


Quote:
> I have tried the sample fro kb Q129796 and it work's as it is. But if
> you change the execute file from notepad.exe to explorer.exe then the
> WaitForSingleObject don't work..
> Does any one have any idea why..



Sat, 30 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How a 32-Bit App Can Determine When a Shelled Process Ends, Article ID: Q129796

2. Help with Determining Shell Process Ends

3. How a 32-Bit App Can Determine When a Shelled Process Ends

4. Determining when a shelled process ends

5. How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796

6. Help: How a 32-Bit app can determine when a shelled process ends

7. Determine when process ends.

8. Why wait the end of a Shell process ?

9. How to determe when a SHELLed process ends.

10. Check if a Shell Process Ends

11. End a shell process ???

12. determining if a shelled program has ended execution (vb3.0)

 

 
Powered by phpBB® Forum Software