Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool2.mu.edu!uwm.edu!linac!att!cbnews!cbnewsm!cbnewsl!cbnewsk!ech From: ech@cbnewsk.att.com (ned.horvath) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem with GetString? Or is it me? Message-ID: <1991Jan16.202350.4238@cbnewsk.att.com> Date: 16 Jan 91 20:23:50 GMT References: <1991Jan16.020012.24103@trl.oz.au> Organization: AT&T Bell Laboratories Lines: 14 > if ((theString = GetString(strID)) == nil) { Correction: in my last posting, I suggested using LoadResource (theString); to ensure that the contents were in memory. IM-1 claims that GetString will do that for you, so the LoadResource is unnecessary. There is a point to be made here, though: for resource types without a specific "Get..." routine, it's best to follow a (successful) call to GetResource with a call to LoadResource, in case the resource was previously loaded and purged. =Ned Horvath= ehorvath@attmail.com