Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSpOpenDF()



It returns an OSErr is all the documentation I can find.  Looking
through the OSErr definitions there are a lot of errors I imagine it
could throw:  fnfErr, fLckdErr, etc.

Note that FSpOpenDF() is deprecated in Tiger, try using FSOpenFork(). 
Creating an FSRef will help you to determine whether the file exists
or not...

hth,
H.

On 10/3/05, Dave Kip <email@hidden> wrote:
> Hi,
>
> I am using a function FSpOpenDF() which takes FSSpec as its first
> argument. Now If the FSSpec is not correct what error code it should
> return
>
> -37 (Bad filename or volume name error) or -43(File or directory not
> found; incomplete pathname error).The other scenario is that if FSSpec
> is the correct then what may be the possible cases when FSpOpenDF()
> will return -43 error if the file is located in a remote system and
> remote system volume is already mounted
>
> -Dave
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Carbon-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/carbon-dev/email@hidden
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >FSpOpenDF() (From: Dave Kip <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.