Hi there,
I have developed a new calculator application, CalcWrite, that depends on
GrfMatch (and friends) to recognise graffiti digits written on the screen.
Users are, not unexpectedly, reporting incompatibilities with many of the
graffiti-enhancement hacks that are out there (eg MiddleCaps, ScriptHack
etc). I am currently just listing all reported incompatible hacks in the
palmgear listing page..
But ultimately, I am looking for a way to at least detect their presence and
hopefully disable them for the duration of my app.
To detect if a hack is installed, I assume I can call SysGetTrapAddress for,
say, GrfMatch and see if the address is in ROM or not. So I can at least
warn the user of any potential incompatibility if any of my traps have been
patched. (But what about any Palm issued patches?)
Now, is there a (relatively) simple way to programatically disable a hack
and revert back to standard GrfMatch behaviour for the duration of my
application? (And reinstate the hack on exit?)
I've perused the hackmaster api docs and find that you can use the feature
manager to find out the saved trap addresses for hacks installed for a
particular creator code and resource ID. But that seems to involve
ascertaining the creator codes for all installed hacks. And the address
returned my still not be the original trap address if it has been patched
multiple times.
So is this the way to go about finding out the ROM address of the original
(palm) trap so it can be reinstated temporarily for the duration of my app?
Or have I missed some onther obvious way around this situation?
All suggestions gratefully received.
Thanks for your help,
Robert
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/