Skip navigation.
 
mlRe: FSRef -> NSString
FROM : Chris Hanson
DATE : Thu Jan 16 21:37:15 2003

At 6:58 AM -0800 1/16/03, Hsu wrote:
>How about FSRefMakePath, then stringWithCString?


Don't use FSRefMakePath, it has a fatal design flaw:  There's no way
to tell in advance how large of a buffer you'll need for the path
string.

Use the FSRef->CFURLRef->CFStringRef technique or use BDAlias (which
uses it internally).  Neither have this flaw.

  -- Chris

--
Chris Hanson, bDistributed.com, Inc.  |  Email: <email_removed>
Custom Application Development        |  Phone: +1-847-372-3955
http://bdistributed.com/              |  Fax:  +1-847-589-3738
http://bdistributed.com/Articles/    |  Personal Email: <email_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlFSRef -> NSString Clark Mueller Jan 16, 07:18
mlRe: FSRef -> NSString ssudre2 Jan 16, 09:21
mlRe: FSRef -> NSString Chris Hanson Jan 16, 10:28
mlRe: FSRef -> NSString bayleyp Jan 16, 11:45
mlRe: FSRef -> NSString Hsu Jan 16, 15:58
mlRe: FSRef -> NSString Chris Hanson Jan 16, 21:37
mlRe: FSRef -> NSString Clark Mueller Jan 17, 00:48