[EMAIL PROTECTED] wrote:
> 
> I am trapping EvtEnqueueKey for a Hackmaster hack I am working on however I
> have a problem.  It seems that if I trap this call it causes a strange bug.
> 
> [rest of post]

   Patching EvtEnqueueKey is bad because it's not interrupt safe.
You'll have to patch further up the line, like EvtGetEvent, Sys-
HandleEvent, FrmHandleEvent or FldHandleEvent (in terms of hack
efficiency, listed from worst to "best").
   (A while back there was some talk about writing interrupt-safe
code when patching EvtEnqueueKey.  Does anybody remember if some-
thing was ever posted?  And, with HM2.0's way of calling traps by
prepending the trap and globals addresses in assembly does this
make it safe?--no FtrGet.)

Regards,
Daniel.


Reply via email to