Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !

2010-01-13 Thread rohan a
Should I then use kCFStringEncodingUTF8 in this case ? On Thu, Jan 14, 2010 at 9:52 AM, Kyle Sluder wrote: > On Wed, Jan 13, 2010 at 8:16 PM, rohan a wrote: > > I used kCFStringEncodingASCII, since I am passing a char* strings for the > > filename and alias name through my pr

Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !

2010-01-13 Thread rohan a
Hi, Thanks for the response. I used kCFStringEncodingASCII, since I am passing a char* strings for the filename and alias name through my program. Thanks On Thu, Jan 14, 2010 at 4:49 AM, Sean McBride wrote: > On 1/13/10 10:42 PM, rohan a said: > > >int CreateAlias(const char *t

Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !

2010-01-13 Thread rohan a
Hello All, Using the new NSURL methods available with Cocoa on Mac OS X 10.6, I am trying to create an alias file to a certain file. However, this method requires a NSURL data type. But I am writing a C program along with an objective-C program to accomplish this. The C program would accept the in