Solved

how to use rez

Posted on 1997-11-19
3
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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