|
-
March 31st, 1999, 12:06 AM
#1
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
-
March 31st, 1999, 12:06 AM
#2
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
-
March 31st, 1999, 01:25 AM
#3
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
-
March 31st, 1999, 03:46 AM
#4
Re: Detecting Another App's shutdown ????
1) ShellExecuteEx
2) WaitForSingleObject
Sally
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|