Re: CopyCStringToPascal
Re: CopyCStringToPascal
- Subject: Re: CopyCStringToPascal
- From: Eric Albert <email@hidden>
- Date: Thu, 16 Jun 2005 03:03:02 -0700
On Jun 16, 2005, at 1:42 AM, Ben Weiss wrote:
I'm porting some old code that uses 'c2pstrcpy', and XCode informs me
that the function is deprecated. Apple's website confirms this, and
states that I should use CopyCStringToPascal instead.
However, the new 10.4 universal headers indicate that
CopyCStringToPascal is also deprecated, but I can't find a newer
equivalent to convert it to. (It would be great if the compiler
warning could tell me this.) Anybody know?
I think the theory there is that Pascal strings themselves are not
encouraged any more. You should switch from APIs that use Pascal
strings to more modern APIs that are Unicode-friendly.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden