Important: The information in this document is obsolete and should not be used for new development.
Chapter 4 -
This chapter provides a detailed description of what happens when a MacApp application is launched and when it is terminated.
Launching and Terminating
an ApplicationBefore reading this chapter, you should read Chapter 2, "Basic Operations." You may also want to refer to Chapter 3, "Core Technologies," for additional information on failure handling, dynamic memory allocation, and segmentation of 68K applications.
Chapter Contents
- Overview
- Initializing MacApp's Core Code
- InitUMacApp_Step1
- UniversalStartup
- Checking the Processor
- Initializing the Macintosh Toolbox
- Performing Preliminary Memory Initialization
- Validating the Machine Configuration
- Installing a Top-Level Failure Handler
- InitUMacApp_Step3
- Performing Additional Required Initialization
- Initializing Additional MacApp Units
- Creating and Initializing the Application Object
- Calling Run to Put MacApp in Control
- Launching the Clipboard
- Terminating the Application