[comp.sys.mac.programmer] PrJobInit bomb?

francis@csli.Stanford.EDU (Dave Francis) (08/18/90)

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