Help... application termination? 
Author Message
 Help... application termination?

With reference to my previous posting: Determining end of process.

Basically I need to determine when an application ends. I have the
application's Task ID, as returned by the Shell function. Does anyone know
of any API calls that I can pass the Task ID to, to retrieve any piece of
arbitrary data. I expect this function will then return an error if that
Task no longer exists. I can put this into a timer to give me an
approximation of when the Application is finished.

Or any other way of determining when an application terminates?

Anyone? Please ;)

Thanks
-Mark



Mon, 17 Jul 2000 03:00:00 GMT  
 Help... application termination?

Mark-
        Go to the Knowledge Base, enter this
keyword string-
"(Shell and Wait) or WaitForSingleObject"
Look over the results and decide how you want
to handle your problem. The KB-
http://support.microsoft.com/support/c.asp
                                Good luck,
                                        Joe

--
***********************************************************

Microsoft Developer MVP- Visual Basic
"The unity of freedom has never relied on
uniformity of opinion."  (John F. Kennedy)
**********************************************************
PS- Please reply to the newsgroup- except in the
case of flames, insults, etc. (Don't bother.)



Quote:
> With reference to my previous posting: Determining end of process.

> Basically I need to determine when an application ends. I have the
> application's Task ID, as returned by the Shell function. Does anyone
know
> of any API calls that I can pass the Task ID to, to retrieve any piece of
> arbitrary data. I expect this function will then return an error if that
> Task no longer exists. I can put this into a timer to give me an
> approximation of when the Application is finished.

> Or any other way of determining when an application terminates?

> Anyone? Please ;)

> Thanks
> -Mark



Tue, 18 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Crash on Termination of Application... PLEASE HELP

2. HOWTO: Cancel the termination of the application - from click X

3. automatic termination of my application

4. Anomal application termination

5. Determine termination of application

6. VB 4.0: Application Termination Calls

7. Detemining an application termination

8. application termination

9. ListView slows application termination.

10. Monitoring the startup and termination of applications

11. Help: WAV file termination indicator MCI

12. Want some application for create help in visual basic application

 

 
Powered by phpBB® Forum Software