Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!ispd-newsserver!ph From: ph@ssd.kodak.com (Pete Hoch) Newsgroups: comp.sys.mac.programmer Subject: Re: MacApp memory mgmt with Callbacks Message-ID: <1991Mar27.205320.5985@ssd.kodak.com> Date: 27 Mar 91 20:53:20 GMT References: <4637@dftsrv.gsfc.nasa.gov> Sender: news@ssd.kodak.com Organization: Eastman Kodak Lines: 15 <4637@dftsrv.gsfc.nasa.gov> rdominy@kong.gsfc.nasa.gov (Robert Dominy) writes: >What is the proper way of telling MacApp that a Code seqment should >be resident in memory and should not be unloaded? I tried defining In C++ put a "#pragma segment ares" line before the routine you want to stay resident. I forget the format for Pascal but it exsists. Pete -- Pete Hoch | ..somewhere..!kodak!ssd!bashow!ph ..or.. Color Systems ISPD. 3/65/RL | ph@ekcolorlink.ssd.kodak.com ..or.. Eastman Kodak Co. | ph@bashow.ssd.kodak.com Rochester, NY 14650-1805 | 716-722-3285