nugteren@pttrnl.nl (01/05/91)
I have written a hardware driver that which must communicate with a SuperCard project via the Event Queue. To attain this, the SuperCard application must be able to look in the event queue and read my application defined events. I think the best way to do this would be to use an XFCN or XCMD, that has the same functionality as the GetNextEvent() trap. I have never written an XCMD or XFCN though (I don't have very much experience in MacIntosh programming at all), and was wondering if there is anybody out there willing to give me some tips on how to go about this. Or maybe something like this already exists? I am using Think C 4.0 and a low level debugger (TMON/MacsBug). Any tips (sample code would be even better) would be greatly appreciated! Thanks, Nils Nugteren
pete@csc-sun.mckinsey.com (Peter Gaston) (01/08/91)
>I have written a hardware driver that which must communicate with a SuperCard >project via the Event Queue. To attain this, the SuperCard application must be And what happens if your event queue overflows? Remember, Appletalk users are reminded not to use this method of determining when their device calls complete... (Sorry for not reducing entropy, but it looked like a case where someone was potentially rowing up the crick)