Re: FSSpec to a non-existent file
Re: FSSpec to a non-existent file
- Subject: Re: FSSpec to a non-existent file
- From: Chris Silverberg <email@hidden>
- Date: Wed, 11 Jun 2003 14:11:31 -0700
- Organization: Silverberg.Net
on 6/11/03 12:01 PM, Yury Peskin at email@hidden wrote:
>
The API that creates an archive requires a FSSpec to a new file that does
>
not exist yet.
>
I have scoured the documentation, but there does not seem to be a way of
>
getting a FSSpec from path that does not exist yet.
You could breakup the path into directory and filename, and then use
FSMakeFSSpec to construct the FSSpec. The disadvantage of course is that
you run into limitations FSSpecs, namely the 31 character limit.
As a preferred alternative, email the folks at Aladdin and request the 7.0
SDK. Version 7.0 is supports FSRefs, CFString(NSString), etc.
-Chris
_______________________________________________
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.