Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
- Subject: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
- From: "Finlay Dobbie" <email@hidden>
- Date: Fri, 20 Apr 2007 16:52:40 +0100
On 20/04/07, donaldo donaldo <email@hidden> wrote:
Thx
My code :
char path[500] = "mypath";
CFStringRef urlString = (NSString *) path;
Uh, no. You can't do that. A char * is not the same thing as a
CFStringRef (or an NSString *).
-- Finlay
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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