Re: Is there such a thing as a "CoreMIDI Version Number" that can be queried?
Re: Is there such a thing as a "CoreMIDI Version Number" that can be queried?
- Subject: Re: Is there such a thing as a "CoreMIDI Version Number" that can be queried?
- From: Stephen Kay <email@hidden>
- Date: Sun, 07 May 2006 23:35:43 -0400
on 5/7/06 9:52 PM, Stephen Kay at email@hidden wrote:
> This is giving me a value of "29". Obviously, I need some help here. ;-)
I've answered my own question. FWIW:
CFBundleRef requestedBundle =
CFBundleGetBundleWithIdentifier(CFSTR("com.apple.audio.midi.CoreMIDI"));
if (requestedBundle == nil){
strcpy(tempString, "Could not locate CoreMIDI Framework");
}else{
CFStringRef versionString =
(CFStringRef)CFBundleGetValueForInfoDictionaryKey(requestedBundle,
CFSTR("CFBundleShortVersionString"));
CFStringGetCString(versionString, tempString, sizeof(tempString), 0);
CFRelease(versionString);
}
This will retrieve "1.4", which makes a bit more sense.
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma Lab - developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden