home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!apple!netcomsv!terapin!paulk
- From: paulk@terapin.com (Paul Kienitz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: 1.2, 1.3, and 2.0 question
- Message-ID: <paulk.1a86@terapin.com>
- Date: 28 Aug 92 17:44:31 GMT
- References: <64699@cup.portal.com>
- Organization: BBS
- Lines: 17
-
- > 1) What determines the stack for the program run with "Execute"
- > call?
-
- I believe it's copied from the parent CLI process, or 4000 bytes if
- the parent is not a CLI.
-
- > 2) Does someone have an example of how to detect the amount of
- > stack you are using? How much you have been given?
-
- The stack size is in the longword pointed to by the address in your
- struct Process's pr_ReturnAddr field.
-
- > 3) Is there some reason why a 2.04 compiled call to Execute() would
- > not run under 1.2 or 1.3? Is there someing I can do about it?
-
- I would think not. Are you sure it's using Execute() under 2.x and
- not System()?
-