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?



Seth Willits wrote:
On Jun 2, 2008, at 3:32 PM, Rolf Howarth wrote:
c) the file Today:Friday.txt already exists/doesn't exist/is/isn't readable/writable, does or doesn't contain a reference movie that has a data ref with a bad path, etc. etc.
d) the file system is/isn't case sensitive and you also have a file called today:friday.txt or TODAY:FRIDAY.TXT

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.

HTH,
adrian.






Animal Logic http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.



_______________________________________________
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>)



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.