I think I recall reading somewhere the Hacks are enabled by a "feature"
owned by hackmaster w/ the hack's crid ... you might try searching the
forum archives based on this lead and/or checking the X-Master pages
to see if he has documented anything along these lines.

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!

"revcom" <[EMAIL PROTECTED]> wrote in message
news:47467@palm-dev-forum...
>
> 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/

Reply via email to