Important: The information in this document is obsolete and should not be used for new development.
Development Environment
The system software routines described in this book are available using C
or assembly-language interfaces. How you access these routines depends
on the development environment you are using. This book shows system software routines in their C interface using the Macintosh Programmer's Workshop (MPW).All code listings in this book are shown in C (except for listings that describe resources, which are shown in Rez-input format). They show methods of using various routines and illustrate techniques for accomplishing particular tasks. All code listings have been compiled and, in most cases, tested. However, Apple Computer does not intend that you use these code samples in your application. You can find the location of this book's code listings in the list of figures, tables, and listings.
To make the code listings in this book more readable, only limited error handling is shown. You need to develop your own techniques for detecting and handling errors.
This book occasionally illustrates concepts by reference to a sample application called SurfWriter and a sample import library called SurfTools; these are not actual products of Apple Computer, Inc.