Re: Cocoa string to carbon compatible C string
Re: Cocoa string to carbon compatible C string
- Subject: Re: Cocoa string to carbon compatible C string
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 11 May 2008 11:59:08 -0600
On May 11, 2008, at 11:36 AM, Steve Cronin wrote:
Is this correct?
Is there a better way?
It depends. Does the code take a real C string (char array), or does
it take an Str63 or Str255 or something? If the latter, then you need
to use CoreFoundation to get a Pascal string from the NSString.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden