On May 27, 2008, at 5:12 PM, J. Todd Slack wrote:

1. I wish to create an NSStatusItem. I have ObjC Code to do so, but how can I do this in C++?

You can't.

2. Can anyone point me to a reference of using Apple's Frameworks with C++ rather than ObjC?

There aren't any. ObjC is dynamically typed while C++ is statically typed; that alone makes C++ not a good fit for AppKit or Foundation programming, since the frameworks rely on dynamic types.

3. How does one use a .C or .CPP file and call functionality in a .M?


Give it the extension .mm.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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]

Reply via email to