Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!aw0i+ From: aw0i+@andrew.cmu.edu (Andrew Jordan Werth) Newsgroups: comp.sys.amiga Subject: More help with messages/handlers Message-ID: Date: 25 Apr 88 14:13:18 GMT Organization: Carnegie Mellon Lines: 14 Thanks for those who gave me some information about where to look for code on setting up an input handler. However, after studying the ROM Kernal manual, many crashes of my machine trying to implement that code in my program, and finally crashing my machine running the exact code from the RKM (which I found on an old source disk), I still can't get a handler to work correctly. I believe the machine is locking up when I perform the DoIO to actually add the handler. I think the problem is in specifying the address of the code for the handler. Using the type cast (VOID) on the function name annoyed the compiler, so I tried compiling without any cast, as well as with the FPTR that Matt Dillon used in his sample program, but still to no avail. Does anyone know how to make the ROM Kernal Manual's source work? Thanks for the help. Andrew Werth aw0i@andrew.cmu.edu