[comp.sys.mac.programmer] MPW 'HEXA' Resource

neil@ghp.UUCP (Neil Campbell) (03/03/90)

I an currently writing an MPW tool which needs more than the default
20K of stack space which MPW gives it.  The MPW 3.0 documentation
mentions that you can use the 'HEXA' resource to allocate more stack
space for MPW tools but gives no details on how to do it.  Could someone
please supply this information.
-- 
          | Neil Campbell, Gellman.Hayward & Partners Ltd.
          | 33 Yonge St., Toronto, Ontario, Canada, M5E 1G4
          | UUCP:{utzoo,uunet}!mnetor!ghp!neil
          | BELL: (416) 862-0430
          | Disclaimer: These are only my opinions...

bhd20867@uxa.cso.uiuc.edu (03/07/90)

	In the C++ 3.1B1 manual they say that you need to increase the stack
for C++ to work.  Here is a quote from the release notes, page two.

	To change the MPW Shell's stack size, use the application ResEdit to
	open the 'HEXA' #128 resource.  This resource contains a long-word
	which is used to set the stack size, (e.q. the value $00010000 would
	set the stack size to 64K).  A value of zero instructs the Shell to
	use its default size.  NOTE:  Do not set the stack size to less than
	about 32K manually - for sufficiently small values the Shell won't
	even be able to boot without running out of stack space.

I don't know if this will help you, but you can try it.

-Bernhard Damberger