Hi Douglas, Scott et al,
I have once heard of a way to get a OS5 patch trapped. Did anyone of you
ever look at YAHM?
Best regards
Tam Hanna

Douglas Handy wrote:

Scott,

>Using an alarm sounds like its my best bet.  

An alarm is OK for things you don't need running more often than every 2
seconds
or so.  However, if your goal is to intercept and pre-examine all BT, IR and
network traffic, operating from an alarm is probably not going to be a
satisfactory arrangement.  For that matter, the same may be true of a sound
stream callback or event dequeue notifications.

Prior to OS5, you would do some something like this by using
SysSetTrapAddress()
to preempt various APIs, much the way TSR programs operated in the days of
DOS.
A "hack" manager made this process safer when multiple apps tried to usurp
the
same APIs.

However, in OS5 the ability to use SysSetTrapAddress() is no longer
implemented.

I'd suggest before you figure out how to make a background process run, you
first think about how you'll intercept all the comm traffic and then only
think
about how you can have that code active to act as a filter on incoming
comms.

Doug


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to