Path: utzoo!attcan!uunet!samsung!aplcen!haven!adm!cmcl2!yale!cs.yale.edu!kishon-amir From: kishon-amir@CS.Yale.EDU (amir kishon) Newsgroups: comp.sys.mac.programmer Subject: How can a CDEV "talk" to its INIT? Keywords: INITS, CDEVS, programming Message-ID: <8183@cs.yale.edu> Date: 12 Dec 89 01:44:14 GMT Sender: news@cs.yale.edu Reply-To: kishon-amir@CS.Yale.EDU (amir kishon) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 19 I would like to write a CDEV that can change the global variables of a patch to GetNextEvent (the patch was done by an INIT that I wrote). How can I have both the CDEV and the patch (INIT) point to the same global variables, so the CDEV can change those values? Or are there any other ways to do that? namely, to keep some static global parameters referenced both by a CDEV code resource and an INIT code resource? I am working with Think C 4.0. HELPPPPPPPPPPPPPPPPPPPPPPP Thanks, -amir =============================================================================== Amir Kishon ARPA: kishon@cs.yale.edu Yale University, Computer Science Dept. kishon@yale.arpa P.O.Box 2158 Yale Station BITNET: kishon@yalecs.bitnet New Haven, CT. 06520-2158 UUCP: ...!yale!kishon (203) 432-1227 ===============================================================================