Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!vaxeline!bootsie!olson From: olson@bootsie.uucp (Eric K. Olson) Newsgroups: comp.sys.mac.programmer Subject: Is this possible with the Resource Manager? Message-ID: <1991Feb15.110116.5508@bootsie.uucp> Date: 15 Feb 91 11:01:16 GMT Organization: Lexington Software Design, Lexington, MA Lines: 27 If you do GetResource() for a resource that is currently in memory, you get a Handle to the data as it appears in memory. Is it possible, without disturbing the resource in memory, to get the resource data as it appears on the disk? Something like: SetResLoad(FALSE); resHand = GetResource(type, id); SetResLoad(TRUE); if (*resHand!=NULL) { /* The resource was loaded */ DetatchResource(resHand); onDiskHand = GetResource(type, id); DetachResource(onDiskHand); ReattachResource(resHand, type, id); } Would work, if the call ReattachResource() existed. I don't think there is any way to do this. Any ideas? -Eric -- Eric K. Olson, Editor, Prepare() NOTE: olson@bootsie.uucp doesn't work Lexington Software Design Internet: olson@endor.harvard.edu 72A Lowell St., Lexington, MA 02173 Uucp: harvard!endor!olson (617) 863-9624 Bitnet: OLSON@HARVARD