Hi,
I have a FSRef ref, I use :
CFURLRef url = CFURLCreateFromFSRef(
kCFAllocatorDefault, &ref );
result is : Macitosh:hd:test.mov$
I created a new name from that: Macitosh:hd:test.mov
then rename to it:
err = FSRenameUnicode(&ref, newNameLen, newName,
kTextEncodingUnknown,NULL);
err always -37(bdNameErr)
why?
現在你可輕易阻擋垃圾郵件,立即使用Yahoo! Mail你就會相信!
_______________________________________________
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