• 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
Re: Mach-O app calling CFM plug-in?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mach-O app calling CFM plug-in?


  • Subject: Re: Mach-O app calling CFM plug-in?
  • From: George Warner <email@hidden>
  • Date: Mon, 28 Aug 2006 17:27:18 -0700
  • Thread-topic: Mach-O app calling CFM plug-in?

On Mon, 28 Aug 2006 15:23:26 -0700, Wyatt Webb <email@hidden>
wrote:
> In my code I call GetDiskFragment to find my CFM library. I then use
> FindSymbol to get the function pointer I want. Then I pass that to
> CFM2MachO. That gives me a Mach-O pointer I can now use.

The CFBundle API's will do all this for you. You only need to write the glue
code if the API you're calling requires a callback. That callback will have
to make the cross architecture call and you'll have to provide that glue
yourself.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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: Mach-O app calling CFM plug-in?
      • From: Philippe Casgrain <email@hidden>
  • Prev by Date: Re: Mach-O app calling CFM plug-in?
  • Next by Date: Re: Debugger thread dump confusion
  • Previous by thread: Re: Mach-O app calling CFM plug-in?
  • Next by thread: Re: Mach-O app calling CFM plug-in?
  • Index(es):
    • Date
    • Thread