Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!apple!Apple.COM!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: CDEV/INIT Data Exchange, another way Message-ID: <8614@goofy.Apple.COM> Date: 7 Jun 90 22:02:22 GMT Sender: usenet@Apple.COM Organization: Future Stuff, Apple Computer, Inc. Lines: 14 References:<55045@microsoft.UUCP> <1990Jun5.142604.11826@asterix.drev.dnd.ca> <8560@goofy.Apple.COM> <1990Jun6.163604.12918@murdoch.acc.Virginia.EDU> In the future the best approach to this will be to use the Gestalt trap. Gestalt will allow one piece of code to register a value under a 4-character ID, and another piece to look up the value associated with the ID. Also, in most cases, the reason for the CDEV/INIT communication is so that changes in the CDEV are immediately reflected in the INIT. That's a nice feature to have, but sometimes it isn't necessary. Larry Rosenstein, Apple Computer, Inc. Object Specialist Internet: lsr@Apple.com UUCP: {nsc, sun}!apple!lsr AppleLink: Rosenstein1