home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 976 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!eclnews!swarm.wustl.edu!wilcox
  3. From: wilcox@swarm.wustl.edu (Don Wilcox)
  4. Subject: Re: Detecting when a WinExec'd prg term
  5. Message-ID: <1992Jul23.145405.28920@wuecl.wustl.edu>
  6. Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
  7. Nntp-Posting-Host: swarm
  8. Organization: Washington University in St. Louis, MO
  9. References: <18014.2a62f9a7@levels.unisa.edu.> <1668700005@igc.org>
  10. Date: Thu, 23 Jul 1992 14:54:05 GMT
  11. Lines: 26
  12.  
  13. In article <1668700005@igc.org> Jeff Dean <jeff@igc.org> writes:
  14. >
  15. >>What do you mean unreliable?  Do you mean that if I have a notifyregister
  16. >>callback I don't have to  let the message fall through to your program?
  17. >>This would be very bad programming on somebody's part.  On the other
  18. >>hand I can always nuke your program with TerminateApp() and you
  19. >>couldn't do  anything about that either.
  20. >
  21. >The scenario goes like this: I want to WinExec another program, then
  22. >be notified when it terminates.  With NotifyRegister, if another
  23. >program also requests notification, that program may catch the
  24. >termination but not pass the information through, leaving me waiting
  25. >for a notification that will never occur.
  26. >
  27. >    Jeff Dean
  28. >    jeff@igc.org
  29. >
  30.  
  31. Can you kill a DOS app with TerminateApp()?  I tried this and managed to get
  32. Windows to exit (yes, I'm sure I had the right task handle).
  33.  
  34. Don
  35. -- 
  36. Don Wilcox                         | "For I am not ashamed of the Gospel of
  37. Washington University in St. Louis |   Christ, for it is the power of salvation
  38. email: wilcox@swarm.wustl.edu      |   to all who believe."
  39.