"Fitzpatrick, Joe" wrote:

> You have to directly modify the dispatch table.

Correct me if I'm wrong, but I don't believe you've ever tried this.

The dispatch table ends at sysTrapLastTrapNumber.  There are no entries
for libraries, which is why SysGetTrapAddress() and SysSetTrapAddress()
don't work for library functions.

To catch things out beyond sysTrapLastTrapNumber (i.e. the library traps 0xA800 and 
beyond),
you would wind up rewriting the trap exception vector handler.  This is a proposition 
I would
describe as hairy at best.  Not to mention the performance hit.

--
Adam Wozniak
Senior Software Design Engineer
Surveyor Corporation
4501 Orcutt Rd.
San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to