Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mac.programmer Subject: Re: Check DialogPtr returned by GetNewDialog? Message-ID: <4143@uakari.primate.wisc.edu> Date: 1 Apr 91 19:45:25 GMT References: <1991Apr1.052536.27902@ux1.cso.uiuc.edu> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 14 From article <1991Apr1.052536.27902@ux1.cso.uiuc.edu>, by johnsone@uxh.cso.uiuc.edu (Erik A. Johnson): > Do any of you check to see if the DialogPtr that GetNewDialog returns is > valid in any way? Is there any way to determine that GetNewDialog had no > problems (i.e. it found the necessary resources and got the necessary > memory allocated)? You want to read Technical Note 4 and then hold your breath in awe at the advice it gives: Assume there is no error -- Paul DuBois I don't see anything about "separation" dubois@primate.wisc.edu in the Constitution. Do you?