Re: Trouble with MakeFSSpec
Re: Trouble with MakeFSSpec
- Subject: Re: Trouble with MakeFSSpec
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 07 Nov 2005 04:44:29 -0500
Your path is a weird mutation of POSIX and HFS styles. If you want to
stick with a hardcoded HFS style path, then take out the ":Volumes:"
at the beginning of the path. Absolute paths in HFS start with a
volume name.
Daniel
On Nov 7, 2005, at 4:23 AM, Tristan Leblanc wrote:
Hello,
I need to get the file spec of a file before passing it to a
quicktime graphic importer...
OSErr err = FSMakeFSSpec
(0,0,"\p:Volumes:MacHD:Files:myFile",&fileSpec);
I get a -120 (dirNFerror).
What's wrong with this?
Tristan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden