home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
- From: H_HADDON@ACAD.FANDM.EDU
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re: Stack size in MacApp
- Message-ID: <01GSDNXMT60Y000JFE@ACAD.FANDM.EDU>
- Date: 16 Dec 92 14:49:00 GMT
- Sender: daemon@Apple.COM
- Organization: AppleLink Gateway
- Lines: 26
-
- From: H_Haddon@ACAD.FANDM.EDU (Harry Haddon, F & M College)
- Content-Transfer-Encoding: 7BIT
- To: D6431@AppleLink.Apple.COM (OptImage Interactive Svcs, PRT)
- Cc: MACAPP3TECH$@AppleLink.Apple.COM
-
- >I need a Large stack in my MacApp Application. Is there any way I can incre
- ase
- >my stack size on application start up??
-
- The correct way to add stack space is to add a 'mem!' resource to your
- application's resource file:
-
- resource 'mem!' (1000,
- #if qNames
- "Additional Memory Requirements",
- #endif
- purgeable) {
- 0, // Add to temporary reserve
- 0, // Add to permanent reserve
- 0 // Add to stack space
- };
-
- Put the amount of additional space required in place of the last 0 above.
-
- Harry
-
-