Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!decvax!spray!anson From: anson@spray.CalComp.COM (Ed Anson) Newsgroups: comp.sys.mac Subject: Re: Changing the pointer icon Message-ID: <2346@spray.CalComp.COM> Date: 20 Jun 88 13:44:51 GMT References: <5157@eagle.ukc.ac.uk> <2327@spray.CalComp.COM> <6383@cup.portal.com> <2340@spray.CalComp.COM> <12237@apple.Apple.COM> Reply-To: anson@spray.UUCP (Ed Anson) Organization: CalComp Inc., A Lockheed Company, Hudson, NH, USA Lines: 23 In article <12237@apple.Apple.COM> dwb@apple.apple.com.UUCP (David W. Berry) writes: > 4) Use the series: > LoadResource(rsrc); > use resource > ReleaseResource(rsrc); Looks good. Except for one thing: As I read Inside Mac, the ReleaseResource invalidates the handle. I interpret this as meaning that the master pointer is invalidated as well. So, this sequence would work for two unrelated programs (or program parts) only if each GetResource returns a handle with a separate master pointer. I don't think that happens (at least it shouldn't!). I admit I've never tried this. I'm reluctant to try anything that doesn't look iron clad and guaranteed. This doesn't. -- ===================================================================== Ed Anson, Calcomp Display Products Division, Hudson NH 03051 (603) 885-8712, anson@elrond.CalComp.COM