Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!caen!uflorida!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Driver Question Message-ID: <1990Nov20.180537.6876@eng.umd.edu> Date: 20 Nov 90 18:05:37 GMT References: <1990Nov19.204829.4725@jarvis.csri.toronto.edu> Sender: news@eng.umd.edu (The News System) Distribution: na Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 23 In article <1990Nov19.204829.4725@jarvis.csri.toronto.edu> 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? No, the driver only gets called when open-- i.e. between OpenDeskAcc and CloseDeskAcc calls. >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? I don't understand 'wish to install it into the system folder'. You can just copy the driver into your application resource file and open it from your application--- safer than putting it into the system, anyway. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.