Re: Link to CoreMIDI from CFM?
Re: Link to CoreMIDI from CFM?
- Subject: Re: Link to CoreMIDI from CFM?
- From: Herbie Robinson <email@hidden>
- Date: Tue, 25 Jun 2002 20:42:37 -0400
Sorry for the newbie question, but I've written some CoreMIDI functions for
my app. The functions themselves were not that bad to write because I
already knew OMS and the concept was pretty familiar, plus my needs are
simple (simple read incoming midi stream, write occasional sysex msg). But I
don't have a clue as to how to link to the CoreMIDI framework, if it's even
possible at all from my app.
Any hints would be appreciated.
Again: Carbonized CFM (non-bundled) app, written in C (everyone here seems
to be Java, which is intimidating!), Codewarrior 8.
I was hoping to play a little with CoreMIDI before making my app Mach-0, but
perhaps this is the back-asswards way of doing it, I don't know.
Thanks.
There is a way to do it from CFM, but you have to use glue routines.
If you build Mach-O, it's a straight bind. If you are planning on
converting anyway, do that first. When I did it, the biggest hassle
was GCC's lack of the "once" pragma. It should be a snap now that
Codewarrior supports Mach-O. The only other PITA is that you have to
delete all the old Mac header references from your source files and
let the environment supply the OS definitions as source prefixes.
--
-*****************************************
**
http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.