Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!usc!apple!metaphor!djh From: djh@metaphor.metaphor.com (Dallas Hodgson) Newsgroups: comp.sys.amiga.tech Subject: Re: "Snooping" library calls Message-ID: <1260@metaphor.Metaphor.COM> Date: 3 Jul 90 17:45:26 GMT References: <1816@vela.acs.oakland.edu> Sender: news@metaphor.Metaphor.COM Reply-To: djh@metaphor.metaphor.com (Dallas Hodgson) Organization: Metaphor Computer Systems, Mountain View, CA Lines: 14 In article <1816@vela.acs.oakland.edu> dlcogswe@vela.acs.oakland.edu (Dan Cogswell) writes: >I would like to be able to examine the arguments passed to a library call, >and then allow the library call to continue without being interrupted. >Specifically, I'd like to do the following: > > (1) Intercept a call to "OpenFont" > (2) Look at the TextAttr structure > (3) Let the OpenFont call continue > >I have tried SetFunctioning the routine, which allows me to do (1) and (2), >but (3) is the hard part. IS there an easy way of doing it? ... This has been done many times by many people. Check out my MacGAG demo on Fish disk 58. My ParSNAG routine works similarly, only with devices.