On Mar 20, 2008, at 2:34 PM, Jeremy wrote:

Thanks everyone!
Using a void* for the member variable of my wrapper class did the trick and I now have my Objective C code calling my C++ code!

What is the best way to pass strings from my Objective C code to my C ++ code though? I started looking at the unichar definition and the methods on NSString, but would like to know if there is an obvious standard for dealing with the unicode issues.

Are your C++ classes using CFStringRef, or std::string, or something else?

Do you try and use wchar_t in your C++?

Scott
_______________________________________________

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