accessing CoreMIDI from CFM
accessing CoreMIDI from CFM
- Subject: accessing CoreMIDI from CFM
- From: "Cianflone, Chris" <email@hidden>
- Date: Fri, 1 Nov 2002 10:31:28 -0600
Hi all,
I know things related to accessing CoreMIDI from CFM (or any framework for
that matter) have been asked on this list and the carbon development list,
but I have some more specifics to ask. I am using
CFBundleGetFunctionPointerForName() and that is working great, but using
CFBundleGetDataPointerForName() seems to be behaving incorrectly. When I
try to get kMIDIPropertyUniqueID or kMIDIPropertyName, the function seems to
work (I don't crash on the call) but the returned data pointer does not
behave as I suspect. I can't treat it like a CFStringRef. I recall there
might be a problem with CFBundleGetDataPointerForName() where ironically
you might need to first call CFBundleGetFunctionPointerForName() to get the
CFBundleGetDataPointerForName() function pointer. But if that were the
case, wouldn't I crash immediately on the call to
CFBundleGetDataPointerForName()? All of this is being tested on OS 10.1.4
with CodeWarrior 8.2.
So is anybody successfully getting this work? We have other problems that
are preventing us from just jumping in a making our app Mach-O. So that is
not a solution. And yes, we actually have a running Mach-O build in house
which is where I first hooked up our CoreMIDI support, but we can't ship
that because a lot of other stuff is stubbed out because of other unrelated
problems in the Mach-O build.
Any help would be greatly appreciated.
Thanks,
Chris Cianflone
Software Engineer
MakeMusic!
_______________________________________________
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.