Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!AppleLink.Apple.Com!Greg From: Greg@AppleLink.Apple.Com (Greggy) Newsgroups: comp.sys.mac.programmer Subject: Re: GetRsrc strange in LSP Message-ID: <2445@internal.Apple.COM> Date: 22 Jun 89 02:20:33 GMT Sender: usenet@Apple.COM Distribution: na Organization: Apple Computer, Inc. Lines: 20 References:<24302@srcsip.UUCP> <32576@apple.Apple.COM> In article <24302@srcsip.UUCP> mnkonar@src.honeywell.com (Murat N. Konar) writes: > Then GetResource > returns a nil handle but resError = noErr. (!) 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. Hope this helps, ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Greg Marriott + AppleLink: Greg + + Just Some Guy + + + "My phone is always busy" + Internet: Greg@AppleLink.Apple.Com + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Apple Computer, Inc. + + 20525 Mariani Ave, MS-46z, Cupertino, CA 95014 + + (408)974-busy + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++