• 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: 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
References: 
 >Trouble with MakeFSSpec (From: Tristan Leblanc <email@hidden>)

  • Prev by Date: Trouble with MakeFSSpec
  • Next by Date: Re: Obtain available disk space?
  • Previous by thread: Trouble with MakeFSSpec
  • Next by thread: Re: Trouble with MakeFSSpec
  • Index(es):
    • Date
    • Thread