Hello,

>Download RsrcEdit, it's a nice tool. If you open
>your hack on the Palm
>you will see that it has a code 1 resource, but not
>the desired code
>1000 resource, as required.

RsrcEdit is really useful. However I got:

TRAP 1 
code 1
code 1000
tAIN 3000
tFRM 2000
tver 1

However, when I used the hack using XMaster. It shows
that the code that I have didn't replace any trap (it
should show that I try to trap the SysHandleEvent).
And when I check on it to use it, it remains unchecked
after I quit the XMaster.


>Solutions:
>      * classic way: call your file code03e8.c and
>have it compiled to
>        code03e8.bin (which will be included >as
'code 1000' resource) 
>or
>        name it whatever way you want and move the
>compilation result 
>to
>        code03e8.bin

You mean compile and link using: m68k-palmos-gcc
code03e8.c -o code03e8.bin -nostartfiles right?

I tried the solution above. However it said: resource
'code' #1 is missing when I used the build-prc. What I
had to do to solve this missing code is by doing:

m68k-palmos-obj-res code03e8.bin and then use:
build-prc charhack.prc -t HACK "Char-Hack" 1234 *.bin
*.grc

But it still doesn't work when I tried it using
XMaster.

>     * modern way: use
>                #include <Standalone.h>
>               HACKMASTER_TRAP
> (sysTrapSysHandleEvent) 
>        in your patch, which will generate the
>proper code resource 
>plus
>        the required trap resource (so you do not
>need to specifiy it 
>in the rcp file). For prefs code resource you should
>use STANDALONE_CODE_RESOURCE_ID(0x7d0) as this one
>needs to have a fixed ID.

This also said: resource 'code' #1 is missing and I
had to do the above things to successfully use
build-prc.

Thank you for your previous answer and could you
please help me on this issue. I really need this to
work. I am using Pilrc v2.9 and gcc v2.95.3-kgpd
20010315. I really appreciate your help.

Best regards,
Victor

__________________________________________________
Do You Yahoo!?
Play now and stand a chance to win cash prizes! 
http://yahoo.com.sg/millionaire

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to