"Randy Eaton" <[EMAIL PROTECTED]> wrote in message
news:52365@palm-dev-forum...
>
> I am trying to write a compiler plugin for Codewarrior that will
compile
> some of my own custom resources into a PalmOS .prc file.
> I'm told by Metrowerks that the data my compiler returns should be
formatted
>
> for PalmRezPostLinker but they could not tell me what that format is.
I have
> searched but have not found any specifications for the input data
format for
> PalmRezPostLinker.
> I think that it is probably the same as a .rsrc created by Palm's
> Constructor program but I can not find any information about that
format either.
The easiest way to do this is to generate ".r" files, that will then be
compiled by the Rez plugin into the Mac resource format. Rez is a
standard Mac OS tool, with documentation on Apple's developer site. The
template file that Rez uses for Palm OS resources is UIResDefs.r,
included in the Palm OS SDK.
See
http://www.mactech.com/articles/mactech/Vol.14/14.09/RezIsYourFriend/
for an article about using Rez.
Anyway, this is the solution used by the PilRC plugin to make CW
resources. It avoids outputting messy binary data in the right Mac
hybrid interface too.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/