home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12827 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.0 KB  |  28 lines

  1. 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
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 1.2, 1.3, and 2.0 question
  5. Message-ID: <paulk.1a86@terapin.com>
  6. Date: 28 Aug 92 17:44:31 GMT
  7. References: <64699@cup.portal.com>
  8. Organization: BBS
  9. Lines: 17
  10.  
  11. > 1) What determines the stack for the program run with "Execute"
  12. > call?
  13.  
  14. I believe it's copied from the parent CLI process, or 4000 bytes if
  15. the parent is not a CLI.
  16.  
  17. > 2) Does someone have an example of how to detect the amount of
  18. > stack you are using?  How much you have been given?
  19.  
  20. The stack size is in the longword pointed to by the address in your
  21. struct Process's pr_ReturnAddr field.
  22.  
  23. > 3) Is there some reason why a 2.04 compiled call to Execute() would
  24. > not run under 1.2 or 1.3?  Is there someing I can do about it?
  25.  
  26. I would think not.  Are you sure it's using Execute() under 2.x and
  27. not System()?
  28.