Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!midway!gsbacd.uchicago.edu!gft_robert From: gft_robert@gsbacd.uchicago.edu (opcode ranger) Newsgroups: comp.sys.mac.programmer Subject: Re: Why won't ResError return the right message? Message-ID: <1991May7.161745.1@gsbacd.uchicago.edu> Date: 7 May 91 22:17:45 GMT References: <1696@babcock.cerc.wvu.wvnet.edu> <1991May6.143630.30448@kuhub.cc.ukans.edu> <13382@goofy.Apple.COM> Sender: news@midway.uchicago.edu (NewsMistress) Lines: 20 In article <13382@goofy.Apple.COM>, REEKES@applelink.apple.com (Jim Reekes) writes: [...] > Another gottcha is to > check ResError after calling HGetState. Otherwise the result is trash, not handle > state information so don't call HSetState with it later. Check ResError _every_ time you call HGetState, or only on Handles related to resources? Robert -- ============================================================================ = gft_robert@gsbacd.uchicago.edu * generic disclaimer: * "Good tea. = = * all my opinions are * Nice house." = = * mine * -Worf = ============================================================================