Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!gatech!pyr!yak!davidc From: davidc%yak@gatech.edu (Dave Corbin) Newsgroups: comp.sys.amiga Subject: Help with SetFunction() Message-ID: <4562@pyr.gatech.EDU> Date: Sat, 28-Nov-87 15:01:07 EST Article-I.D.: pyr.4562 Posted: Sat Nov 28 15:01:07 1987 Date-Received: Mon, 30-Nov-87 04:01:59 EST Sender: news@pyr.gatech.EDU Reply-To: davidc%yak@gatech.edu (Dave Corbin) Organization: Office of Computing Services, Georgia Tech Lines: 8 Correct me where I go wrong. SetFunction allows you to patch in your own replacement function for a function in a library. Thus, if I want to monitor certain calls (like all SizeWindow()s, or some such), I should be able to use SetFunction to do it. Here's my problem. I get back a zero value from the SetFunction, and apparently my new routine is NOT being called. Can someone offer me some info on what the most likely stumbling blocks are? David Corbin