Path: utzoo!utgpu!attcan!uunet!samsung!uakari.primate.wisc.edu!uflorida!stat!vsserv!loligo!pepke From: pepke@loligo (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: Interesting problem with GetResource('dctb', id) Message-ID: <338@vsserv.scri.fsu.edu> Date: 7 Nov 89 15:54:33 GMT References: <232@fwi.uva.nl> <5058@internal.Apple.COM> Sender: news@vsserv.scri.fsu.edu Reply-To: pepke@loligo.UUCP (Eric Pepke) Organization: Supercomputer Computations Research Institute Lines: 22 In article <5058@internal.Apple.COM> han@apple.COM (Byron Han, Project Scapegoat) writes: > >Well, this is kind of a strange quirk in the operating system. > >Do this instead: >SetResLoad(FALSE); >hDCTB := GetResource('dctb', foobar); >SetResLoad(TRUE); >LoadResource(hDCTB); Please give a complete definition of the quirk, including what types of resources it affects under what conditions. I trust that I will not have to change all my code that gets all kinds of resources to do this charade; however, nor do I want to have timebombs ticking in my code. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.