Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!cbmvax!vu-vlsi!hvrunix!ahinds From: ahinds@hvrunix.UUCP (Alexander Hinds) Newsgroups: comp.sys.amiga.tech Subject: SetFunction Keywords: can't get it work Message-ID: <518@hvrunix.UUCP> Date: 3 Apr 89 12:48:10 GMT Organization: Haverford College, Haverford, PA Lines: 14 Can anybody tell me how to use SetFunction()? I want to replace DisplayBeep to point to my own code, because I hate screen flashing. I'd like it to play an IFF sample, or use SPEAK: instead. I thought it would be a cool hack. Unfortunately, I seem to call SetFUnction incorrectly. I did: SetFunction(IntuitionBase,(long)-60,&MyFunction); I used -60 because it is DisplayBeep() offeset.(I think). Any help would be appreciated, and a personal response would be much better than one posted. Sincerely,, Alexander HInds USENET:ahinds@hvrford