| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I have a big problem with FSOpenIterator and USB memory sticks. I have a
process which creates a FSRef (with FSPathMakeRef) for a mounted USB stick
(let's say the path is "/Volumes/Stick/") and then it opens an iterator and
enumerate all files from the stick. If I unmount the USB stick and then
mount it back (by plugging it out and insert it back)
and then tell my process to enumerate again the files from the stick, FSOpenIterator will return -43 (fnfErr) although the FSPathMakeRef returns noErr. It looks like the FSRef obtained second time is invalid. If I restart my process, everything works fine until the next unmount/mount of the USB stick. Any ideas ?
Mike _______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.