|
-
January 24th, 2008, 04:23 PM
#1
Getting an application "handle"?
Hi,
I have a project where there's a service running and it's serving information to a number of applications. What I want to do is when an app connects to the service it passes a handle to itself so the service can watch or wait on that handle and take appropriate action if the application terminates.
I need something that will work with basic Win32 apps.
Also, if it's not possible in this context, could I create an event in a signaled state, pass it to the service on connection and if the app disappears/crashes/etc. then take appropriate action? I assume that if an app exits or crashes then the event would be released and I can detect that.
Thanks!
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
|