[comp.sys.mac.programmer] Using Gestalt for INIT/cdev communication

sund@tde.lth.se (Lars Sundstr|m) (09/20/90)

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                                           |
+---------------------------------------------------------------------+