Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!husc6!hscfsas1!kenh From: kenh@hscfsas1.harvard.edu (Ken Hancock) Newsgroups: comp.sys.mac.programmer Subject: PACK rsrc & Chooser Message-ID: <4610@husc6.harvard.edu> Date: 6 Nov 90 22:18:39 GMT Sender: news@husc6.harvard.edu Organization: Isle Systems - Waltham, MA Lines: 21 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). I'm about to throw my monitor out the window in frustration. Granted, I'm on the first floor, but I'd rather solve my problem than trash my mac. Hopefully someone will be able to help. Thanks in advance -- Ken (Environment: MPW 3.1/Multifinder/System 6.0.5/Mac IIcx) -- Ken Hancock | INTERNET: kenh@hscfsas1.harvard.edu Isle Systems | Disclaimer: My opinions are mine, Macintosh Consulting | your opinions are yours. Simple, isn't it?