how to use rez

Can someone learn me how to use rez, to create text based resources in CW
thanks
TrisAsked:
Who is Participating?
 
twallConnect With a Mentor Commented:
Look on your CW Documentation tree for Apple[doc]:Rez Documentation:DeRez and Rez.

This file explains how to use Rez.

0
 
twallCommented:
Look on your CW Documentation tree for Apple[doc]:Rez Documentation:DeRez and Rez.

This file explains how to use Rez.
0
 
sidewinderCommented:
If you are looking for a quick start and have MPW handy, try this.
Load MPW and type "derez…". (If you can't read the ellipsis character in your browser, I typed derez followed by Option+;).
You will get a commando window for the derez command. Select any resource file e.g. your application and select all the files from MPWs "RIncludes" directory.
Choose a new output file from the redirect output pop-up and click "Derez".

You should now have a file with all of the resources from the chosen resource file in rez format. You can add this to your CodeWarrior project and play with it to your heart's content.
The first thing to do perhaps, is to add the following lines at the top:

#include <Types.r>
#include <SysTypes.r>

Take a look inside these two files and see how templates are constructed.
I think that there should be enough information there to get you started.
This is of course no substitute for reading the Rez Documentation, but it sure beats working from a book and a blank screen.

Happy Hunting!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.