Hi Jason, Addressing point one, you must use ObjC to use the Cocoa frameworks. For the other points, I suggest you take a look at < http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_12_section_2.html> to begin with. Also see < https://developer.apple.com/samplecode/Cocoa_With_Carbon_or_CPP/index.html>.
Objective C is a strict superset of C. You can use C and C++ functions declared and defined in your .c/.cpp/.h. Just make sure when you're attempting to mix Objective C and C++, make sure the source file's extension is ".mm". HTH, Kiel Hi All, > > > 1. I wish to create an NSStatusItem. I have ObjC Code to do so, but how can > I do this in C++? I dont see any examples anyplace. Must I use ObjC to use > NSStatusItem? I would think not! Does anyone have an example dealing with > NSStatusItem? > > 2. Can anyone point me to a reference of using Apple's Frameworks with C++ > rather than ObjC? > > 3. How does one use a .C or .CPP file and call functionality in a .M? > > > Thanks! > > > -Jason > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]