Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!sun-barr!texsun!pollux!ti-csl!m2!holland From: holland@m2.csc.ti.com (Fred Hollander) Newsgroups: comp.sys.mac.programmer Subject: Re: Purge or Revert Resource? Message-ID: <82394@ti-csl.csc.ti.com> Date: 27 Jun 89 19:16:34 GMT References: <82203@ti-csl.csc.ti.com> <689@biar.UUCP> <376@inebriae.UUCP> <693@biar.UUCP> Sender: news@ti-csl.csc.ti.com Reply-To: holland@m2.UUCP (Fred Hollander) Organization: TI Computer Science Center, Dallas Lines: 21 In article <693@biar.UUCP> trebor@biar.UUCP (Robert J Woodhead) writes: > Ok, the real need here is to purge the relocatable block and > set the master pointer to nil. This should be possible as > follows: > > HUnlock(H); { can't be locked } > EmptyHandle(H); { IM II-40 } > LoadResource(H); { gets it back from disk } Just what I was looking for. Thanks. -Fred ______________________________________________________________________________ | Fred Hollander | | | Computer Science Center | "Ha ha ha ha ha ha, Ah what a day!" | | Texas Instruments, Inc. | -- Joker | | Internet: hollander@ti.com | | | Telnet: 214/995-0696 | The above statements are my own and not | | AppleLink: D1392 | representative of Texas Instruments. | ______________________________________________________________________________