Re: coremidi & codewarrior
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.