🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #168

Re: Stack size in MacApp

#168
From: H_HADDON
Date: Wed, 16 Dec 1992 14:49
26 lines
1152 bytes
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
 
Technical Details
Message-ID: <01GSDNXMT60Y000JFE@ACAD.FANDM.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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