At 12:11 -0800 4/2/2002, Andrew O. Mellinger wrote: > This is all the same thing. In my experience RotateCursor crashes >are from as much from not disposing of descriptors (memory leak) but >more often from double-disposing them. I think that is probably what >is happening in DoAppleScript.
That's interesting...the Apple Event Manager does two things to try to prevent problems with double dispose: 1. it is safe to call AEDisposeDesc() and pass a descriptor which contains a null handle; and 2. the passed [by reference] descriptor is rewritten with a null handle by AEDisposeDesc(). So it sounds as if perhaps MacPerl (or the calling Perl code) is making a copy of the descriptor and passing that to AEDisposeDesc(), and keeping the original descriptor around. Calling AEDisposeDesc() with the original, unmodified descriptor would be bad. --John -- John Baxter [EMAIL PROTECTED] Port Ludlow, WA, USA