If you check the Palm OS Reference for SysSetTrapAddress() you will see the
following warning.

#############################################################################
WARNING! If your application patches a system trap using this function, you
must remove the patch before your application exits. Do not use this
mechanism to permanently patch system traps as it may cause unpredictable
results for the system and other applications.
#############################################################################

Pay attention to the word "must".

However, isn't this done by a number of standard apps, including most of the
external keyboard drivers? If so, then why the warning?

BTW, will SysSetTrapAddress() and SysGetTrapAddress() be part of OS 5?

/Paul N.

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

Reply via email to