Click to See Complete Forum and Search --> : Detecting Another App's shutdown ????
bryce burrows
March 30th, 1999, 11:06 PM
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
Bryce Burrows
March 30th, 1999, 11:06 PM
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
ye jing cheng yap keem siah
March 31st, 1999, 12:25 AM
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
sally
March 31st, 1999, 02:46 AM
1) ShellExecuteEx
2) WaitForSingleObject
Sally
Sally
March 31st, 1999, 02:46 AM
1) ShellExecuteEx
2) WaitForSingleObject
Sally
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.