• 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: coremidi & codewarrior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coremidi & codewarrior


  • Subject: Re: coremidi & codewarrior
  • From: Paul Lalonde <email@hidden>
  • Date: Tue, 12 Feb 2002 10:35:40 -0500

on 11/02/02 07:06, Mark Gilbert at email@hidden wrote:

> For people like us who have quite a few OMS apps to port, the
> established route has been to first carbonise them in CW 7.2.
>
> Question is (sorry to be so ignorant about Mach-O), how hard is it
> to port a Carbon app to Mach-O ?
>
> Is this easier than work around calling frameworks from CFM ?

There's a little-used, but tremendously helpful library written by Quinn
that makes it (almost) painless to call Mach-O frameworks from CFM code.
It's called CFMLateImport, and it's part of the MoreIsBetter library. The
steps to take are:

- Build a stub library containing the framework entry points you're
interested in.

- Weak-link against the stub library.

- At runtime, call CFMLateImport once to bind the weak-linked calls to the
correct framework.

This is a lot less work than mucking around with CFBundleGetPointerForName.
CFMLateImport is really a gem.


--
Paul Lalonde
work: email@hidden  "Il n'y a que les banques qui sont libres"
home: email@hidden Jean-Luc Godard, "Sauve qui peut (la vie)"
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • cfmlateimport help
      • From: Matt Ingalls <email@hidden>
    • Re: coremidi & codewarrior
      • From: "Jeremy@Verizon" <email@hidden>
References: 
 >Re: coremidi & codewarrior (From: Mark Gilbert <email@hidden>)

  • Prev by Date: RE: Volume Controls -
  • Next by Date: Re: Questions on data in MIDIPackets
  • Previous by thread: Re: coremidi & codewarrior
  • Next by thread: Re: coremidi & codewarrior
  • Index(es):
    • Date
    • Thread