• 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
CFStringRef to cstring in c++?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFStringRef to cstring in c++?


  • Subject: CFStringRef to cstring in c++?
  • From: Gary Scavone <email@hidden>
  • Date: Mon, 23 Sep 2002 19:04:50 -0700 (PDT)

This is probably a stupid question, but I haven't found an answer in
my various searches.

I just want to determine and print the names of the MIDI sources found
by the system. The MIDIObjectGetStringProperty() function returns the
name as a CFStringRef (which I learned is also a NSString *). What do
I have to do, in C++, to get the name in the form of a common C
string?

Any help is appreciated. Thanks in advance.

-------------------------------------------------
Gary Scavone
Center for Computer Research in Music & Acoustics
Stanford University
email@hidden
http://www-ccrma.stanford.edu/~gary/
-------------------------------------------------
_______________________________________________
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.

  • Prev by Date: Re: CoreMIDI and sudo ...
  • Next by Date: Re: CFStringRef to cstring in c++?
  • Previous by thread: JAVA Development
  • Next by thread: Re: CFStringRef to cstring in c++?
  • Index(es):
    • Date
    • Thread