Cocoa_With_Carbon_or_CPP

Last Revision:
Version 1.4, 2011-08-05
Project updated for Xcode 4.
(Full Revision History)
Build Requirements:
Xcode 3.2, Mac OS X 10.6 Snow Leopard or later
Runtime Requirements:
Mac OS X 10.6 Snow Leopard or later

Cocoa_With_Carbon_or_C++ is sample code that shows how to call Carbon routines and C++ code from within an Objective-C Cocoa program. The sample displays a window within which, depending upon the radio button selected, clicking the "Say Hello to the World" button will call functions that use Objective-C, C++, or Carbon respectively.