Path: utzoo!news-server.csri.toronto.edu!rutgers!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!gb2a+ From: gb2a+@andrew.cmu.edu (George J. Baxter) Newsgroups: comp.sys.mac.programmer Subject: GetResource problem... Message-ID: Date: 9 Mar 91 04:16:54 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 16 Hiya, I have a function that pulls resources and slams them info in the resources into a linked list. A problem arose, however, when there was a jump, in this case of just 1, of the resource ID, say from 13 to 15.. so resource 14 was missing. According to the Inside Mac I, when I try to read in 14, and it doesn't find it, ResError should return the error resNotFound (-192 I think). Well, it don't.. I get 0. The handle does come back NIL, so I do have a work around, but it ain't a pretty nor a safe one. Why aren't I getting resNotFound?? -george ----------------------- gb2a@andrew.cmu.edu baxter@a.cfr.cmu.edu baxter@imga.cfr.cmu.edu q100gb2a@vb.cc.cmu.edu "Only a Hawaiian can say Humuhumunukunukuapuaa five times fast, correctly."