Re: FSPathMakeRef() & unicode problem
Re: FSPathMakeRef() & unicode problem
On Wed, Apr 09, 2003 at 10:35:23AM +1000, Lloyd Dupont wrote:
>
this is a carbon/foundation problem.
>
I use the NSFileManager to brows through a directory tree.
>
I get NSString filename of all subdirectory files.
>
I want to gather info on them using LSCopyItemInfoForRef(), for this I
>
need an FSRef which I create this way:
>
>
FSRef hfile;
>
OSStatus err;
>
Boolean isDir;
>
>
err = FSPathMakeRef([path cString], &hfile, &isDir);
>
>
unfortunately I have a problem if there unicode char in my path ...
>
does any of you have idea how to create a FSRef from a
>
NSString/CFStringRef ?
<
http://www.skytag.com/developer/>
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.