Re: Unloading Coercions
Re: Unloading Coercions
- Subject: Re: Unloading Coercions
- From: Chris Nebel <email@hidden>
- Date: Sun, 25 Mar 2001 00:43:46 -0800
- Organization: Apple Computer, Inc.
Richard 23 wrote:
>
>Native scripting additions have been officially endorsed since Mac OS 9.0 --
>
>see Tech Note 1164 -- it's just that no one has bothered.
>
>
Oh yeah, I have read that. I was going by the Scripting Additions
>
Mechanism document from the SDK which states:
>
>
The Standard Additions file in Mac OS 8.5 is a native CFM shared
>
library with event handlers defined as entry points in the library.
>
This mechanism is limited and will not be supported in future versions
>
of the operating system; when a new mechanism is defined it will be
>
documented in this SDK.
Ah, right. If I recall correctly, AppleScript 1.3.x used accelerated code
resources, which turned out to have problems of their own. This is mentioned in
the tech note. Unfortunately, the SDK hasn't been updated since AppleScript
1.3.7, but the tech note has.
>
It's a little frustrating, being used to the comfy resource paradigm,
>
especially since the two tools I have for maipulating PEF containers...
Yes, dumppef has some odd deficiencies. (Or maybe I just can't find the right
options. It's a little weird.) I might point out that you can get a decent
disassembly on Mac OS X by saying:
otool -tV file | sed -e 's/__mh_bundle_header/0x0/'
Mac OS X with the developer tools installed opens up new frontiers of geekiness!
--Chris Nebel
AppleScript Engineering