Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!uc!nic.MR.NET!srcsip!gorby!mnkonar From: mnkonar@gorby.SRC.Honeywell.COM (Murat N. Konar) Newsgroups: comp.sys.mac.programmer Subject: Re: GetRsrc strange in LSP Message-ID: <24329@srcsip.UUCP> Date: 21 Jun 89 21:16:27 GMT References: <24302@srcsip.UUCP> <32576@apple.Apple.COM> Sender: news@src.honeywell.COM Reply-To: mnkonar@gorby.UUCP (Murat N. Konar) Distribution: na Organization: Honeywell Systems & Research Center, Camden, MN Lines: 25 In article <32576@apple.Apple.COM> keith@Apple.COM (Keith Rollin) writes: > >I don't know why you aren't finding your resource, but the fact that the >Resource Manager is returning "noErr" was a deliberate "feature". I honestly >don't know why it does this, but the Resource Manager intentionally doesn't >set ResError to resNotFound if it can't find the resource on a Get(1)Resource >call. To add to the bizarreness of it all, Get(1)NamedResource DOES set >ResError. Do you mean that any time I call GetResource and GetResource fails to find the resource I want, resErr=0? Or only inside WDEFs (or anyDEFs for that matter) Wow, this is weird. Is this discussed in a tech-note or somewhere? Thanks, ____________________________________________________________________ Have a day. :^| Murat N. Konar Honeywell Systems & Research Center, Camden, MN mnkonar@SRC.honeywell.com (internet) {umn-cs,ems,bthpyd}!srcsip!mnkonar(UUCP)