Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!eru!hagbard!sunic!lth.se!tde.lth.se!sund From: sund@tde.lth.se (Lars Sundstr|m) Newsgroups: comp.sys.mac.programmer Subject: Using Gestalt for INIT/cdev communication Message-ID: <1990Sep20.133832.3802@lth.se> Date: 20 Sep 90 13:38:32 GMT Sender: newsuser@lth.se (LTH network news server) Distribution: comp.sys.mac.programmer Organization: Applied Electronics, Lund University, Lund, Sweden Lines: 25 Last time when there was a discussion about INIT/cdev communication someone mentioned that using Gestalt would be the best thing to do. However, in the documentation is says that you should pass a pointer to a function to be associated with a specific Gestalt signature. This means, in order to use Gestalt for INIT/cdev communication you have to have executable code and data in the same memory block so the code knows where to find the data. I thought this was a No-No. Is it not? /Lars Sundstroem -- +---------------------------------------------------------------------+ | Lars Sundstrom, Lund University, Department of Applied Electronics, | | Box 118, S-221 00 Lund, Sweden Phone: +46-46121598 Fax:+46-46129948 | | Internet: sund@tde.lth.se | +---------------------------------------------------------------------+