> I'm re-writting a code generator that converts a PilRC resource file
into
> GNUC code. I would like to take a look at how to do something similar for
> Code Warrior's Constructor output file. I've never seen one (Code Warrior
is
> a bit out of my price range), but I assume it's an ASCII file with some
kind
> of predictable structure.
No, it's not an ASCII file. Constructor does spit out a header file with
#defines for each of the resources, but the actual resource file is a MacOS
resource file. MacOS files are dual-forked, containing a data fork and
resource fork. The resource fork is where the resource data is. On
Windows, the two forks are stored in separate files: one of size zero (data
fork) and another containing the resource data, located in a folder called
RESOURCE.FRK
It is a predictable structure. My guess is that you'll need to get some
docs from the Apple website that describe the structure, plus get
palmtypes.r from the Palm website so you can see how the custom Palm
resources are laid out.
---- --- -- -
Matthew D Moss
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html