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: "donaldo donaldo" <email@hidden>
- Date: Fri, 20 Apr 2007 17:48:04 +0200
Thx
My code :
char path[500] = "mypath";
CFStringRef urlString = (NSString *) path;
CFURLRef url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, urlString,
kCFURLHFSPathStyle, YES);
CFStringRef resultString = CFURLCopyFileSystemPath
(url,kCFURLPOSIXPathStyle);
NSString* myString = (NSString*) resultString;
On 4/19/07, donaldo donaldo <email@hidden> wrote:
Hi all,
I want convert a path as ":Developer:Private:jam" into a path POSIX-style.
You have an idea?
Donaldo
_______________________________________________
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