home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- 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
- From: apel@physik.uni-kl.de (Martin Apel (SAGA))
- Subject: Re: Getting rid of requesters
- Message-ID: <1992Aug17.103745.29635@rhrk.uni-kl.de>
- Sender: news@rhrk.uni-kl.de
- Organization: University of Kaiserslautern, Germany
- References: <1992Aug15.220923.9546@CS.ORST.EDU>
- Date: Mon, 17 Aug 1992 10:37:45 GMT
- Lines: 20
-
- divineg@prism.CS.ORST.EDU (Glade Diviney) writes:
- :
- : 'lo all! I have a problem: I'm writing a program to run off of a console
- : that does some DOS work. How can I prevent system requesters (such as
- : "Please insert volume XXX: in any drive") from appearing?
-
- You can set the pr_WindowPtr inside the Process structure of your process to
- -1, so DOS will return with an error code to your application without bothering
- the user with a requester. But you have to restore the value you found there,
- when your program is exiting.
- --
- Reachable as: I do hate sums. There is no greater
- apel@gypsy.physik.uni-kl.de mistake than to call arithmetic an
- (Martin Apel) exact science. There are .. hidden
- laws of number which it requires a
- mind like mine to perceive. For
- instance, if you add a sum from the
- bottom up, and then again from the
- top down, the result is always
- different.
-