In article <99743@palm-dev-forum>, Danny Wong <[EMAIL PROTECTED]> wrote:
> HI, > > I hear you. This greatly limit developers what they can do by hacking the > OS. > There won't be any good hacks for OS5.0 and much of the hacks we will miss. > > Palm engineers many times suggested to use notifications and you can't > replace > Hacks with notifications. It just doesn't work the same. First of all there > isn't > Enough notification events and secondly you never know if the notifications > will > Ever come to your app. > > Oddly SysGetTrapAddress() is implemented. > > Regards, PalmSource said that SysGetTrapAddress would stay implemented so you can check to see if some function call exists. As for not enough notifications; at least for Palm OS 5.0 and 5.1, there are a few notifications that handle a great majority of the cases for hacks...basically one notification can be used as a substitute for patching EvtGetEvent. I converted a very complex hack (most of it) to use notifications; it only took me a few hours for the basic conversion and it works quite well. For the original poster's issue with patching WinDraw events or something similar, yes, this is a problem. Based on some of the hacks I've seen, I'm much happier with notifications as there are no patch chains to worry about and the notifications can be installed/removed w/o creating a big mess for other patches. -- Scott Gruby [EMAIL PROTECTED] <http://www.gruby.com/> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
