Re: FSpCreateResFile is returning -1402
Re: FSpCreateResFile is returning -1402
- Subject: Re: FSpCreateResFile is returning -1402
- From: Brian Webster <email@hidden>
- Date: Sun, 17 Feb 2002 11:23:03 -0600
On Saturday, February 16, 2002, at 05:18 PM, cocoa-dev-
email@hidden wrote:
What does that mean? my list of errors does not contain -1402, pls help
From MacErrors.h:
errFSBadForkName = -1402, /* Fork name parameter
is bad */
The error is documented in the Carbon File Manager docs, which
is why it didn't show up in the Resource Manager docs.
"A supplied fork name was invalid (i.e., was syntactically
illegal for the given volume). For example, the fork name might
contain characters that cannot be stored on the given volume
(such as a colon on HFS volumes).
Some volume formats do not store fork names in Unicode. These
volume formats will attempt to convert the Unicode name to the
kind of encoding used by the volume format. If the name could
not be converted, errFSBadForkName is returned.
Some volume formats only support a limited set of forks, such as
the data and resource forks on HFS volumes. For those volumes,
if any other fork name is passed, this error is returned."
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.