Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!ccnysci!alexis From: alexis@ccnysci.UUCP (Alexis Rosen) Newsgroups: comp.sys.mac.programmer Subject: Re: touching resource attributes w/o modifying file Keywords: mac resource manager setresattrs getresattrs Message-ID: <1889@ccnysci.UUCP> Date: 7 May 89 06:06:31 GMT References: <517@biar.UUCP> Reply-To: alexis@ccnysci.UUCP (Alexis Rosen) Organization: City College of New York Lines: 18 In article <517@biar.UUCP> trebor@biar.UUCP (Robert J Woodhead) writes: >I have a couple of sections of code that occasionally need to temporarily >change resource attributes; in particular, resSysHeap. Basically, I want >to load a resource so I can look at it, but don't want it to go into the >system heap as that is 1) impolite and 2) can fail. [...] > >Therefore, any suggestions on how I can load to the application heap w/o >causing a modification in the file? Sure. Easy. Just swap the pointers to the System and Application Heap Zones. :-) :-) :-) --- Alexis Rosen alexis@ccnysci.{uucp,bitnet} alexis@rascal.ics.utexas.edu (last resort)