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.