At 4:41 PM -0700 2001/07/06, Jay Shroff wrote:
>In MyEvtGetEvent I read the Original trap address and
>invoke it for some reason it works fine within my app
>but when I quit the application the Systrap does not
>work
>
>does anyone know the cause? I know I could use
>HackMaster, but I would like to understand why this
>fails.

When your application quits, the code segment containing your patched function is 
unloaded. The application must unpatch the trap before exiting. Trap patches such as 
this should *only* be applied from within system extensions such as Hackmaster.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


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

Reply via email to