Solved

how to use rez

Posted on 1997-11-19
3
155 Views
Last Modified: 2013-12-26
Can someone learn me how to use rez, to create text based resources in CW
thanks
0
Comment
Question by:Tris
  • 2
3 Comments
 
LVL 1

Expert Comment

by:twall
ID: 1291711
Look on your CW Documentation tree for Apple[doc]:Rez Documentation:DeRez and Rez.

This file explains how to use Rez.
0
 
LVL 1

Accepted Solution

by:
twall earned 100 total points
ID: 1291712
Look on your CW Documentation tree for Apple[doc]:Rez Documentation:DeRez and Rez.

This file explains how to use Rez.

0
 

Expert Comment

by:sidewinder
ID: 1291713
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

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question