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: FSRef under Windows / loading files with special characters in their filenames




On 21 Sep 2006, at 14:31, Alexis Glass wrote:

Looking through the list archives, I found a post from Harry Plate, dated Dec 9 2005, dealing with much the same problem as I have -- namely that FsRef functions aren't in the Quicktime SDK libraries for Windows, though it they are listed in the header files.
I am trying to load an audio file which uses an 'e' with an acute accent in the filename; this fails when I use FSMakeFSSpec or NativePathNameToFSSpec. It would seem that under OS X, using FSMakeFSRef would would be the appropriate course of action. Given that the function isn't available under windows, how do I go about opening files with special characters in their names? Has anyone (Harry?) made any progress with this who is willing to share their discoveries?


Thanks very much in advance for any help.

If possible, you should switch to the new DataRef APIs which work OK with "funny" chararcters - I have a folder full of weird filenames which I use just for testing this. QTNewDataReferenceFromFullPathCFString is your friend on Windows.


Jerry

_______________________________________________
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: 
 >FSRef under Windows / loading files with special characters in their filenames (From: Alexis Glass <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.