Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: PACK rsrc & Chooser Message-ID: Date: 7 Nov 90 02:03:57 GMT Reply-To: peirce@outpost.UUCP Organization: Peirce Software Lines: 16 X-Mailer: uMail - Mac Release: 0.1.4 In article <4610@husc6.harvard.edu>, kenh@hscfsas1.harvard.edu (Ken Hancock) writes: > > I'm writing an non-serial printer driver and wish to check the SysEnvirons > when it's selected in the chooser so that I can disallow the selection if > the environment isn't right. So, I've included the PACK -4096 resource > with the appropriate header. The problem is, no matter which flags I set, > whether it be the initMsg or the selectMsg, it never seems to call the code > at offset $10 pointed to by the first branch in the resource (IM IV-217). Have you been trying different flag setting in your RDEV? The chooser caches these the first time it sees you RDEV and late changes can go unnoticed. Try removing the RDEV and putting it back with a new name to get the Chooser to reread the flags. -- michael -- Michael Peirce -- {apple,decwrl}!claris!outpost!peirce -- Peirce Software -- Suite 301, 719 Hibiscus Place -- Macintosh Programming -- San Jose, California 95117 -- and Consulting -- (408) 244-6554