At 9:39 AM -0700 1999/05/06, [EMAIL PROTECTED] wrote:
>I am trapping EvtEnqueueKey for a Hackmaster hack I am working on

You MUST NOT patch this trap via HackMaster(!)

EvtEnqueueKey is called from within interrupt service routines and background tasks. 
Neither the memory manager nor the feature manager can safely be called from within an 
interrupt service routine -- you WILL corrupt the dynamic and/or storage heaps, 
crashing randomly as a result, possibly losing all user data in the device.

These same restrictions hold for EvtResetAutoOffTimer and EvtWakeUp (they're called 
from within interrupt handlers too). We're working on a more complete list of APIs 
with such restrictions. You'll have to choose a different trap to patch (for example, 
EvtGetEvent).

Regards,

Jim Schram
3Com/Palm Computing
Partner Engineering

Reply via email to