• 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
Objective C and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objective C and C++


  • Subject: Objective C and C++
  • From: Brian Hughes <email@hidden>
  • Date: Sun, 21 Dec 2008 10:20:29 -0500
  • Importance: Normal

I have an Cocoa application that in Objective C using xcode that uses Cocoa's gui.  Now I want to give it audio and midi functionality.  I have studied the sample code such as PlaySoftMidi, PlayFile , PlaySequence and I think I understand how to do what I want, except, how do I get my Cocoa app to work with C++.  I have read that I need to "wrap" the C++ code in Objective C.  I don't really understand what that means.  Also I have read that I need to use Objective C++.  Can I just change all my files from .m to .mm?  Any help would be appreciated.

Thanks Brian


It’s the same Hotmail®. If by “same” you mean up to 70% faster. Get your account now.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Objective C and C++
      • From: Marc Vaillant <email@hidden>
  • Prev by Date: Re: Getting PCM data from MP3/AAC/ALAC File
  • Next by Date: Re: Objective C and C++
  • Previous by thread: CoreMIDI and Core Data?
  • Next by thread: Re: Objective C and C++
  • Index(es):
    • Date
    • Thread