Re: Does AXObserverRemoveNotification work?
Re: Does AXObserverRemoveNotification work?
- Subject: Re: Does AXObserverRemoveNotification work?
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 18 Nov 2002 19:53:36 -0500
on 02-11-18 7:44 PM, Eric Schlegel at email@hidden wrote:
>
On Monday, November 18, 2002, at 01:17 PM, Bill Cheeseman wrote:
>
>
> When I call AXObserverRemoveNotification in my assistive app, the
>
> target
>
> application unexpectedly quits, and the function generates a
>
> kAXErrorCannotComplete error.
>
>
This is a known bug in the Carbon accessibility implementation which
>
will be fixed in an upcoming software update.
>
>
There's no workaround other than just not calling
>
AXObserverRemoveNotification.
How about releasing the observer and starting over with a new one? It means
giving up any other notifications that have been registered with that
observer, of course, but I could write a routine to remember them and
reinstate them with a new observer. Just wondering if you know if it would
work, before I invest any time in it.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.