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 intheir filenames



The short-file-name trick doesn't work, sad to say -- QuickTime canonicalizes paths before it tries to open. The hard link approach generally works, though it requires NTFS. In previous builds, neither going through file URLs nor QTNewDataReferenceFromFullPathCFString seemed to actually make any difference, but this last update seems to have finally made things slightly better for non-working-codeset characters. Now I've got to decide if I can get away with the QT7 dependency just yet.

Unfixed as of my last testing are the long pathname situations (256 fails with a paramErr, 255 with a -43, but 254 now works, so at least things are getting better) and the UNC path problem ("\\SomeServer\SomeShare\SomeMovie.mov").

Seth

George Birbilis wrote:

Could try using the short filename version of the file (all files have such
names, autogenerated by the FAT32/NTFS filesystems), in case it helps. There
are OS functions if you want to map back and forth (get the short name from
the long one), but apps in general can use them interchangeably

----------------
George Birbilis (email@hidden)
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, .NET, Delphi VCL, XML, IPC
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




_____

avast! Antivirus <http://www.avast.com> : Outbound message clean.


Virus Database (VPS): 0638-1, 22/09/2006 Tested on: 23/9/2006 10:30:09 p? avast! - copyright (c) 1988-2006 ALWIL Software.



_______________________________________________
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





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
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: FSRef under Windows / loading files with special characters intheir filenames (From: "George Birbilis" <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.