Am Sam, 2003-09-13 um 15.41 schrieb Victor .:
Hello,
> I tried the solution above. However it said: resource
> 'code' #1 is missing when I used the build-prc. What I
That's ok, after all you do not want a code #1 resource in this case.
Just use the --no-check-resources option of build-prc.
> had to do to solve this missing code is by doing:
>
> m68k-palmos-obj-res code03e8.bin and then use:
I think there may be a mismatch between your TRAP resource and code
resource. obj-res creates a code 1 resource if you use it like this. I
really recommend using the modern way. Try
hack.c:
#include <Standalone.h>
HACKMASTER_TRAP(sysTrapSysHandleEvent);
...
hack.rcp:
usual stuff, but NO "TRAP" command
compiling:
...
m68k-palmos-gcc -nostartfiles -o hack.o hack.c
build-prc --no-check-resources -t HACK hack.prc "HaCk" Name hack.o hack.ro
(I recommend using the -ro option for rcp files)
PM me offlist if you need further help.
--
Daniel Seifert <[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/