ADC Home > Reference Library > Technical Q&As > Legacy Documents > Mac OS 9 & Earlier >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Q: I'm still having problems creating FAT code resources. Here's what I need to know: What exactly is a PEF container? You mentioned in passing that it was the output of MakePEF. When I look at that output, it has no resources; yet the MixedMode.r file says to include the line:
How do I create a RESOURCE with a PEF container? A: The output of MakePEF normally goes to the data fork of the file you specify in its "-o" option. With a Rez "read" statement you can read the PEF container and move it into the resource fork of an intermediate file (BDef.rsrc):
The final $$Resource ("BDef.rsrc", 'pCod', 128), then reads that resource back in. Q: In MixedMode.r, it gives an example of using a 'sdes' such as:
What is the definition of A: Q: In my 68K code resource, I use:
The note in Will this affect me? Can I simply use different registers to circumvent this
conflict? If this does affect me, how do you build a code resource without
using the A:
The |
|