Paul Nevai <[EMAIL PROTECTED]> wrote:

> How can I determine if a hack is actually activated and not only insatlled
> on the Palm, i.e., the check box was checked in HackMaster?  Thanks. Best
> regards, Paul

HackMaster expects the code resources in a hack to be numbered 
consecutively starting with 1000 (decimal). When you enable the hack 
(check its box), HackMaster stores the entry point to all the code 
resources in features, indexed by the the hack's creator ID and the 
code resources' numbers. When you disable a hack, HackMaster 
unregisters said features.

Here's a snippet of code from Silence that tests whether or not 
SilenceHack is enabled:

    UInt32 temp;
    if (FtrGet(MYHACKCRID, 1000, &temp))
        FrmAlert(ALIDnohack);

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
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