Thanks for the help everyone. How can we tell which traps are
interrupt safe and which are not ?
I am using HM2.0beta so it appears that it does not make this trap
safe unless there is some additional code checking I should have placed
into my routine.
Ron
<pre>
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.
</pre>