• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Trouble with MakeFSSpec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Trouble with MakeFSSpec (From: Tristan Leblanc <email@hidden>)

  • Prev by Date: Re: progress bar when creating file
  • Next by Date: NSNumberFormatter forbidding non-digits?
  • Previous by thread: Re: Trouble with MakeFSSpec
  • Next by thread: Start an application with a panel
  • Index(es):
    • Date
    • Thread