• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Accessibility Notifications on 64-bit Intel crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: getting VoiceOver to read slider absolute value
  • Previous by thread: Re: getting VoiceOver to read slider absolute value
  • Index(es):
    • Date
    • Thread