"Craig Schofield" <[EMAIL PROTECTED]> wrote in message
news:14279@palm-dev-forum...
> Ah, well I'm on a Mac <snip>

You can use .r files on a Mac with CodeWarrior. I've done it. You'll need to
write some code that outputs the .r file. The format is quite simple; the
data is in hex. You'll need to configure CodeWarrior to know that what .r
files are. From the archives...

On Mar 21, 2000, JK wrote:
> A .r file is a Rez file which is the Mac OS textual resource file - a Mac
OS
> version of .RCP files, if you will. The format is different though. For
CW,
> the preferred method is to use .r files for textual resource files. You
can
> create .r file by typing in the resource description, or (what I do
> sometimes) disassembling a Constructor .rsrc file and modifying the .r
file.

On Dec 3, 1999, Eric Cloninger wrote:
> You need to have two different entries in the file mappings table
>
> .rsrc -- no compiler, with the "resource file" flag set
> .r -- Rez compiler, with no flags set
>
> When you want to Derez the .rsrc file to a .r file, change the .rsrc
> compiler to Rez.  That is the only change you should have to make.

On June 29, 1999, JK wrote:
> The Rez format is documented
> in the following file, found on Apple's web site.
>
>
ftp://ftp.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./Documenta
tion/MPW_Reference/Bldg%26Mng_Progs_In_MPW.sit.hqx
> ...
> In order to use .r files in CodeWarrior, you will need to do the
following:
> Add a new file mapping in the File Mappings pref panel of the Project
> Settings. You need to set the file type to TEXT, all Flags off, .r
extension
> and the compiler to be used is Rez. Once this is done, you can use the .r
> file in the project.

(As always, beware of line breaks in URLs.)

That should get you started. Good luck!
--
Danny Epstein
OS Engineer, Palm Inc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to