Re: Trouble with MakeFSSpec
Re: Trouble with MakeFSSpec
- Subject: Re: Trouble with MakeFSSpec
- From: Ian was here <email@hidden>
- Date: Tue, 8 Nov 2005 21:00:15 -0800 (PST)
Your filename parameter must be a full path if you are
not using the vRefNum and dirID parameters. If your
filename is not a full path, then it will try to use
these other parameters, finding a value of zero in
each.
Hope that helps.
--- Tristan Leblanc <email@hidden> 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:
>
>
> This email sent to email@hidden
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
_______________________________________________
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