Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Reinstallable
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon |
This sample INIT patches a trap globally yet is reinstallable: it can be recompiled and run without rebooting. Usually, when an INIT patches a trap, changing the INIT requires reinstalling the INIT in the Extensions folder and rebooting. This INIT demonstrates a technique which allows new INIT code to replace most of the old code without the developer having to reboot. This INIT just patches Standard File (_Pack3) and beeps when a standard file dialog is raised.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14