Sagar Mody wrote:
Hi All,
I'm interested in adding a Custom Data resource in my project with .RCP file
as resource.
I'm using Codewarrior 9.3. I usually create a .rsrc file using Constructor
and use PilRC Designer to open the .rsrc file and save as .RCP file.
I then use the so generated .RCP file in my project.
But the problem is when I add Custom Data in the .RSRC file, PilRC Designer
generates no equivalent command for it.
It simply adds "UNKNOWN" in the .RCP file as the last line.
Is there any way by which I can add any Binary data in my .RCP resource and
assign some resource ID to it and use it in my code.
Thanks in advance.
Regards,
Sagar Mody
PilRC supports 2 methods of custom data. HEX and DATA
HEX alows you to specify the contents directly. DATA loads the contexts
from an external file.
HEX "type" ID res_id
0x00 0x01 0x02 ...
or
DATA "type" ID res_id
"blob.bin"
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/