Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!well!brecher From: brecher@well.UUCP (Steve Brecher) Newsgroups: comp.sys.mac.programmer Subject: Re: GetRsrc strange in LSP Message-ID: <12325@well.UUCP> Date: 22 Jun 89 21:37:40 GMT References: <24302@srcsip.UUCP> <32576@apple.Apple.COM> <2445@internal.Apple.COM> Reply-To: brecher@well.UUCP (Steve Brecher) Distribution: na Organization: Software Supply, Sunnyvale, CA Lines: 14 In article <2445@internal.Apple.COM>, Greg@AppleLink.Apple.Com (Greggy) writes: > GetResource will return a nil handle and set resError=noErr when it can't > find any resources of the requested type in any open file. If it sees the > type you asked for, but can't match the id, then resError=resNotFound. Get[1]Resource will always set resError=noErr if the requested resource is not found, regardless of whether the requested type exists. In other words, Get[1]Resource will never set resError to resNotFound. -- brecher@well.UUCP (Steve Brecher)