Strange kAXErrorAPIDisabled error on AXObserverAddNotification
Strange kAXErrorAPIDisabled error on AXObserverAddNotification
- Subject: Strange kAXErrorAPIDisabled error on AXObserverAddNotification
- From: David Niemeijer <email@hidden>
- Date: Mon, 29 May 2006 16:30:51 +0200
When I call AXObserverAddNotification early on in my application I am
getting a -25211 (kAXErrorAPIDisabled) error when I install the
notification for my app's own PID, not when I do the same for, for
example the Dock. AXAPIEnabled() returns true and I have Access for
Assistive Device turned on all the time. I am installing a
kAXFocusedUIElementChangedNotfication in case that matters and
running 10.4.6 on Intel.
Anyone an idea why I might get that error despite the fact that AX is
enabled....
Thanks,
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden