Important: The information in this document is obsolete and should not be used for new development.
About the Package Manager
The Package Manager lets you load packages into memory. A package is a set of routines and data types that is stored as a resource of type 'PACK
'. In early models of the Macintosh computer, all packages were disk-based and brought into memory only when needed; some packages are now in ROM. The System file contains the standard Macintosh packages and the resources they use or own. Table 10-1 lists the standard Macintosh packages.If the Package Manager is not able to load a package, the Package Manager adds the resource ID number of the affected package to 17 to get an error number. The System Error Handler uses this error number to display an error message. Originally this approach worked because there were only 7 packages, and the error number would fall between 17 and 24, which are the error numbers that define the "Can't load package" error. However, now there are more packages and the resulting error messages from packages with resource IDs greater than 7 are misleading.
The error messages that corresponds to packages with resource IDs greater than 7 are as follows:
Resource ID Package Error ID Error 9 Apple Event Manager 25 Out of memory 9 PPC Toolbox 26 Can't launch file 11 Edition Manager 28 Stack overflow 12 Color Picker 29 * 13 Data Access Manager 30 Disk insertion required 14 Help Manager 31 Wrong disk inserted 15 Picture Utilities 32 * The system errors are described in detail in the chapter "System Error Handler" in this book.
* There is not a defined system error for this error ID.