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: CreateMovieStorage + valid path = bdNamErr -- Anyone out there?



On Jun 4, 2008, at 12:22 AM, Adrian Paul wrote:

It's not supposed to exist, and it's not a permissions issue.

I'm sure that this error may be raised if you attempt to create a FSSpec (and maybe even a DataRef too) from a string for some path that does not yet exist - which is problematic if you're trying to create a new file.


A hack to workaround this problem is to touch the filepath yourself (so that it exists on disk) prior to referencing it with your QuickTime API calls, which is similar to what Richard Ramsden suggested you could do earlier in this thread.


Hey hey! That's worked. The file has to exist before it works if a colon is in the POSIX path. How odd. Thanks!

*updates the bug report*

--
Seth Willits




_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Re: CreateMovieStorage + valid path = bdNamErr -- Anyone out there? (From: Rolf Howarth <email@hidden>)
 >Re: CreateMovieStorage + valid path = bdNamErr -- Anyone out there? (From: Seth Willits <email@hidden>)
 >Re: CreateMovieStorage + valid path = bdNamErr -- Anyone out there? (From: Adrian Paul <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.