• 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
Calling a CFM library from Mach-o and passing a Callback...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
email@hidden

http://www.kuwan.net
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

  • Follow-Ups:
    • Re: Calling a CFM library from Mach-o and passing a Callback...
      • From: George Warner <email@hidden>
    • Re: Calling a CFM library from Mach-o and passing a Callback...
      • From: Frederick Cheung <email@hidden>
  • Prev by Date: Re: 2.2.1 Debugger visual bug
  • Next by Date: Re: Creating Carbon bevel picture buttons w/Interface Builder
  • Previous by thread: Re: 2.2.1 Debugger visual bug
  • Next by thread: Re: Calling a CFM library from Mach-o and passing a Callback...
  • Index(es):
    • Date
    • Thread