Accessibility Notifications on 64-bit Intel crash
Accessibility Notifications on 64-bit Intel crash
- Subject: Accessibility Notifications on 64-bit Intel crash
- From: Derek Bunn <email@hidden>
- Date: Wed, 31 Mar 2010 11:55:52 -0600
- Organization: Pixelture
I'm writing an app that needs to run in 64-bit (Intel) on OS X 10.5 (so
it can be called as a library from Java 6 on 10.5). The app needs to be
notified when application windows move, resize, or close. The
accessibility API is the only way I've found to do this.
The problem is that when I register for notifications using
AXObserverAddNotification, the notification registration succeeds, but
when an event occurs, my app crashes with a bad address issue.
Inspecting the ASM and registers in the debugger shows the observer
handle has had its upper 4 bytes truncated when it comes back to my
program from the notification..
When I compile/run the app in 32-bit, everything runs fine.
Any thoughts (other than moving to Java 5 or OS X 10.6)?
_______________________________________________
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