Re: CFM-based AXObserver Callback causing grief
Re: CFM-based AXObserver Callback causing grief
- Subject: Re: CFM-based AXObserver Callback causing grief
- From: Eric Schlegel <email@hidden>
- Date: Mon, 24 Mar 2003 08:11:17 -0800
On Monday, March 24, 2003, at 07:58 AM, Matt Gough wrote:
I am guessing that this is because the CFRunLoop stuff is expecting the
Observer to use Mach-O calling conventions, by obviously my function
is CFM.
That seems quite likely, since the AXObserverCreate function takes a
raw procptr, not a UPP.
You'll need to wrap your CFM procptr in a mach-o procptr. I think
there's sample code showing how to do this (MachOToCFMToMachO, or
something like that).
-eric
_______________________________________________
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.