Calling a CFM library from Mach-o and passing a Callback...
Calling a CFM library from Mach-o and passing a Callback...
- Subject: Calling a CFM library from Mach-o and passing a Callback...
- From: Dave Thorup <email@hidden>
- Date: Thu, 20 Apr 2006 12:34:32 -0400
Alright, I'm in the unfortunate position of having to use a third-party CFM library with our Mach-o application. I have it working for the most part using CFBundle to load the library and CFBundleGetFunctionPointerForName to load the function pointers that I need. The last thing that I need to do is be able to pass a function pointer from my Mach-o application so that it can be used by the CFM library.
I can't seem to find any way to do this, at least I haven't been able to find it yet. The best I could do was locate the CFM_MachO_CFM sample code. But this does the opposite of what I need to do (CFM -> Mach-o -> CFM), I need to do Mach-o -> CFM -> Mach-o. Can anybody point me in the right direction?
Thanks!
PS George, I've CCed you on this because I remember you telling me that you were one of the last, if not THE last, people at Apple with any CFM responsibilities. _____________________________
Dave Thorup Software Engineer
HyperSpell - Check spelling in Mac OS X from any application.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden