Detecting Another App's shutdown ????
Hi there
I have an app (dde client) which gets information from another app which is a ddeserver (which i do not have source code for)
every 15 minutes or so
How can my app tell the moment the server app has shut down?
so it can shutdown too ?
Regards
Bryce Burrows
Detecting Another App's shutdown ????
Hi there
I have an app (dde client) which gets information from another app which is a ddeserver (which i do not have source code for)
every 15 minutes or so
How can my app tell the moment the server app has shut down?
so it can shutdown too ?
Regards
Bryce Burrows
Re: Detecting Another App's shutdown ????
Hi;
i have 2 suggestions
1. Use CreateProcess API to start the DDE server app from you DDE client app.
you will know the process (server program) terminal from this API.
2. Use FindWindo API function to get the dde server program in certain
interval by SetTimer function.
HTH
bye
Re: Detecting Another App's shutdown ????
1) ShellExecuteEx
2) WaitForSingleObject
Sally