🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4182

Re: "Snooping" library calls

#4182
From: Dallas Hodgson
Date: Tue, 03 Jul 1990 17:45
14 lines
1181 bytes
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.
Technical Details
Message-ID: <1260@metaphor.Metaphor.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!usc!apple!metaphor!djh
References: <1816@vela.acs.oakland.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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