Skip navigation.
 
mlRe: Cocoa string to carbon compatible C string
FROM : Nick Zitzmann
DATE : Sun May 11 19:59:08 2008

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/>

Related mailsAuthorDate
mlCocoa string to carbon compatible C string Steve Cronin May 11, 19:36
mlRe: Cocoa string to carbon compatible C string Nick Zitzmann May 11, 19:59
mlRe: Cocoa string to carbon compatible C string Jens Alfke May 11, 22:38
mlRe: Cocoa string to carbon compatible C string Steve Cronin May 12, 00:11
mlRe: Cocoa string to carbon compatible C string Nick Zitzmann May 12, 00:14
mlRe: Cocoa string to carbon compatible C string Scott Ribe May 12, 19:41