Let's say you've got a .prc file (foo.prc) you'd like to have included as a
resource in your application.
Create a .r file with the following line in it:
read 'XXXX' (2000) "foo.prc" ;
That'll read "foo.prc" and create a resource (of type 'XXXX' with ID 2000)
with its contents.
This assumes you've already set up the file mappings so that .r files are
compiled by Rez.
Make sure that "foo.prc" is not longer than 63.5K or you'll end up with an
invalid database (since you'll have a record that's longer than the maximum
allowed).
Neil
--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA 92374
(909) 793-5995 [EMAIL PROTECTED] fax: (909) 793-2545
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/