Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!shelby!csli!francis From: francis@csli.Stanford.EDU (Dave Francis) Newsgroups: comp.sys.mac.programmer Subject: PrJobInit bomb? Message-ID: <14946@csli.Stanford.EDU> Date: 17 Aug 90 19:58:44 GMT Sender: francis@csli.Stanford.EDU (Dave Francis) Reply-To: francis@csli.stanford.edu (Dave Francis) Organization: Center for the Study of Language and Information, Stanford U. Lines: 24 I have been using this code for about a month with no flaws and suddenly (gag!) it completely bombs. What have I done?? The code comes directly from Tech Note #95 about adding your own items to the print job dialog. /* checked printHndl here (allocated a THPrint). It was OK *\ bool = PrValidate(printHndl); /* bool gets false here */ err = PrError(); /* err gets 0 here */ /* printHndl is still good here */ prJobDialog = PrJobInit(printHndl); /* bus error on IIcx */ /* address error on Mac+ */ As I said before this EXACT code worked before on both machines without a hitch and as far as I know I have changed nothing. everything seems to be in order before the call to PRJobInit.....What's the deal?? Thanks for any help, Dave Francis