diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-89F383B6-3730-51DF-8C41-CF2564B4D003.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-89F383B6-3730-51DF-8C41-CF2564B4D003.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,12 @@ + + + + + +TParse, TParsePtr and TParsePtrC

The above three classes are provided for parsing filenames. All provide the same parsing capability (except that the path passed to TParsePtrC cannot be modified, for example by adding or removing a directory), but they differ in several respects. TParse uses a 256 byte TFileName as an internal buffer to store a copy of the fully parsed filename. The other two classes on the other hand do not have any storage space. They should be used in preference to TParse when minimizing stack usage is a priority.

When using TParsePtr and TParsePtrC in preference to TParse, remember that:

Filepath limitations

If the length of the file path is more than 256 characters, file operations such as rename, copy and delete results in an error. However, it is possible to create a filepath which exceeds 256 character limit as follows:

Consider the following path:

C:\Multimedia\AVCodec\testproduct\...\avtests.txt

Rename the AVCodec directory to AVCodec123456789123456789. If the length of the complete file path, C:\Multimedia\AVCodec123456789123456789\testproduct\...\avtests.txt exceeds 256 characters, any file operation will fail. Similarly, when you create a file with the filepath more than 256 characters will result in an error.

However, on the emulator, the limit may be less than 256 characters. See Files and locations section in the Emulator guide.

\ No newline at end of file