Re: CFM-based AXObserver Callback causing grief
Re: CFM-based AXObserver Callback causing grief
- Subject: Re: CFM-based AXObserver Callback causing grief
- From: George Warner <email@hidden>
- Date: Mon, 24 Mar 2003 08:50:32 -0800
on 3/24/03 7:58 AM, Matt Gough at <email@hidden> wrote:
>
In one of the builds of my app, I still use CFM (in CodeWarrior) as it has
>
certain advantages during debugging/profiling that the MACH-O version
>
doesn't have.
>
>
I have gone to the trouble of using CFBundleGetFunctionPointerForName and
>
CFBundleGetDataPointerForName diligently and all of the AX functions I am
>
using work correctly.
>
>
However, whenever my app is about to receive an observer notification it
>
crashes.
The CFBundle API's will only make the glue so that your CFM code can call
the MachO framwork API's. When you register your CFM observer notification
routine you'll need to pass the address of MachO -> CFM glue that the MachO
accessibility code will need to call your CFM notification routine. See our
CFM_MachO_CFM sample to see how to generate the glue.
You can also email me directly if you need further assistance.
--
Enjoy,
George Warner,
Mixed Mode Magic Fragment Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
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.