The fundamental problem with directly setting the trap is how you clean up
after yourself. You can store the old trap address and restore it when
you're cleaning up (turning off the feature). However, what if the trap is
patched by two different applications? In this case, if you're the second
app to do the patching, your old address will actually be the address of the
first patch. If the first patch is turned off before yours, you'll end up
turning the first trap back on.
My understanding is that HackMaster was created specifically to deal with
this problem, so hacks could be turned on or off in any sequence. Of course,
you still need to turn off a hack before deleting it. I think HackMaster
takes into account the order in which hacks are turned on, so if multiple
hacks patch the same trap, you can decide what happens first. I suspect that
most of the time, the result is the same regardless of the order.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html