Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
- Subject: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
- From: "Sean McBride" <email@hidden>
- Date: Thu, 14 Jan 2010 15:49:25 -0500
- Organization: Rogue Research Inc.
On 1/14/10 9:56 AM, rohan a said:
>Should I then use kCFStringEncodingUTF8 in this case ?
With NDAlias your function would look like:
int CreateAlias(const char *target, const char *aliasname)
{
NSString* path = [NSFileManager stringWithFileSystemRepresentation:target
length:strlen(target)];
NDAlias* alias = [NDAlias aliasWithPath:path];
}
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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