home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!franz.com!sdj
- From: sdj@franz.com (Steve D. Jacobson)
- Subject: NotifyRegister() question
- Message-ID: <1992Aug27.173716.17324@franz.com>
- Sender: news@franz.com
- Nntp-Posting-Host: rubix
- Organization: Franz Incorporated, Berkeley CA
- Date: Thu, 27 Aug 1992 17:37:16 GMT
- Lines: 16
-
- I would like to invoke WinExec() and then wait in a temporary GetMessage()/
- DispatchMessage() loop until the application invoked by WinExec() terminates.
-
- I am trying to use the toolhelp DLL NotifyRegister() function to do this.
-
- By looking for a NFY_EXITTASK notification, I can tell that some application
- has completed, but I can't tell that it's the one I'm interested in. The
- other things I've tried, like looking to see if the NFY_DELMODULE handle
- matches the return value I get from WinExec(), don't work.
-
- Has anyone out there tried to do something like this and figured out what
- notifications to look for?
-
- Thanks,
-
- Steve
-