FSPathMakeRef() & unicode problem
FSPathMakeRef() & unicode problem
- Subject: FSPathMakeRef() & unicode problem
- From: Lloyd Dupont <email@hidden>
- Date: Wed, 9 Apr 2003 10:35:23 +1000
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 ?
_______________________________________________
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.