Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: Programmer's Guide to MacApp / Part 1 - MacApp Theory and Architecture


Chapter 4 -
Launching and Terminating
an Application

This chapter provides a detailed description of what happens when a MacApp application is launched and when it is terminated.

Before 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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
25 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice