Solved

how to use rez

Posted on 1997-11-19
3
153 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

896 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now