After studying of the documents files included in CW9.3, I can now include the two binary files.
After changing their file name to "ARMC2328.bin" and "ARMC2329.bin", as stated in document that the 4 numbers represents the resource ID:
0x2328 = 9000 0x2329 = 9001
Then the two files were included to the project directly. After compiling and installing into my Palm, the resources are there and the program works properly.
But I still don't know why using armlet.r cannot work?
Because the Rez compiler needed to parse a .r file doesn't run when you use the Palm OS 68K Linker -- Rez script files only work with the Mac OS 68K Linker (the linker from previous versions of CodeWarrior for Palm OS). You could have written a .rcp file with the lines
DATA 'ARMC' ID 9000 "ARMC0001.bin"
DATA 'ARMC' ID 9001 "ARMC0002.bin"and had that work, but it's cleaner to just link the projects and have the linker itself include the output .bin files as you've done.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
