phil@delta.eecs.nwu.edu (William LeFebvre) (03/16/90)
I'm posting this for a colleague. Please mail all responses to me and I will forward them along. ---------- Running under Multifinder 6.0.3 and using THINK C 4.0 I am having difficulty with writing a GNE filter as described by Mac Tech Note #85 (updated Mar. 1, 1988). It seems that my GNE filter is called even when GetNextEvent is not called. Also I don't know how to chain to the "previous" GNE filter. If I just use return, everything works fine but applEvt is somehow filtered out. I know this since I posted an applEvt myself. From debugging (with TMON) it seems the following occurs: 1. Whatever is pointed to by jGNEFilter (ie: myGNEFilter) is being called repeatedly. 2. Tech note #85 also does not say in detail how to use jGNEFilter other than it is at location 0x29A and to change that location to point to myGNEFilter. Never mentioned to change it back when you're done. - Ken Ng ---------- William LeFebvre <phil@eecs.nwu.edu>