Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“Reinstallable.zip”, 7.8K)
Download Sample (“Reinstallable.dmg”, 65.6K)


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.

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.