home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12391 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!sun.rhrk.uni-kl.de!apel
  3. From: apel@physik.uni-kl.de (Martin Apel (SAGA))
  4. Subject: Re: Getting rid of requesters
  5. Message-ID: <1992Aug17.103745.29635@rhrk.uni-kl.de>
  6. Sender: news@rhrk.uni-kl.de
  7. Organization: University of Kaiserslautern, Germany
  8. References: <1992Aug15.220923.9546@CS.ORST.EDU>
  9. Date: Mon, 17 Aug 1992 10:37:45 GMT
  10. Lines: 20
  11.  
  12. divineg@prism.CS.ORST.EDU (Glade Diviney) writes:
  13. :   'lo all!  I have a problem:  I'm writing a program to run off of a console
  14. :   that does some DOS work.  How can I prevent system requesters (such as 
  15. :   "Please insert volume XXX: in any drive") from appearing?
  16.  
  17. You can set the pr_WindowPtr inside the Process structure of your process to
  18. -1, so DOS will return with an error code to your application without bothering
  19. the user with a requester. But you have to restore the value you found there,
  20. when your program is exiting.
  21. --
  22. Reachable as:                I do hate sums. There is no greater
  23. apel@gypsy.physik.uni-kl.de        mistake than to call arithmetic an
  24. (Martin Apel)                exact science. There are .. hidden
  25.                     laws of number which it requires a
  26.                     mind like mine to perceive. For
  27.                     instance, if you add a sum from the
  28.                     bottom up, and then again from the 
  29.                     top down, the result is always
  30.                     different.
  31.