Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!stevec From: stevec@Apple.COM (Steve Christensen) Newsgroups: comp.sys.mac.programmer Subject: Re: Driver Question Message-ID: <46721@apple.Apple.COM> Date: 20 Nov 90 03:37:25 GMT References: <1990Nov19.204829.4725@jarvis.csri.toronto.edu> Distribution: na Organization: Apple Computer Inc., Cupertino, CA Lines: 29 tracyn@dgp.toronto.edu (Tracy Narine) writes: >Drivers can have routines which are called periodically. A desk >accessory is also a driver and can have the same periodic routine. >My question is, does the periodic routine get called when the desk >accessory is not active or selected from the apple menu? The only time the periodic routine is called is when a desk accessory is open. If it got put away (by clicking on the goaway box, for example), then it gets closed and is no longer called. >Related driver question. >I have written a driver and wish to install it into the system folder. >What kinds of problems might I run into if I use resedit and >copy it into the system file and then open it from in my program. >Is there a better way of doing this? If the driver is only going to be used while your application is running, put it into your application's file. If it needs to be installed before the Finder starts up, write an INIT to install it then... steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ whoami? Steve Christensen snail: Apple Computer, 20525 Mariani Ave, MS-81CS, Cupertino, CA 95035 internet: stevec@apple.com AppleLink: stevec CompuServe: 76174,1712