This section describes how to create a FAT Filename Conversion plug-in DLL.
This tutorial assumes that you have an understanding of the following:
FAT Filename Conversion Plug-ins Overview introduces Windows code page and the main purpose of the Plug-ins component.
The flowchart below shows the steps to create a Fat Filename Conversion plug-in DLL.
Note : To create the plug-in DLL, the unicodeconv.cpp file is needed. It provides the functions to convert text between Unicode and a foreign encoding. It is available on the Symbian Foundation web site.
This tutorial uses the example of CP1250 to explain the process of creating a plug-in DLL.
... 0x00 0x0000 #NULL 0x01 0x0001 #START OF HEADING 0x02 0x0002 #START OF TEXT 0x03 0x0003 #END OF TEXT 0x04 0x0004 #END OF TRANSMISSION 0x05 0x0005 #ENQUIRY 0x06 0x0006 #ACKNOWLEDGE ...The source file has the same syntax as a cnvtool source file. For more information about the syntax, refer to Cnvtool Source File .
ConversionTable.pl d:\charconvfiles\data\cp1250.txtThis process generates a C++ source code file called cp1250.cpp . It is referred to as the ConversionTableTool-generated cpp file, which contains the data structure. The data structure is used by unicodeconv.cpp for the encoding conversion.
Build the plug-in DLL and install it into the \sys\bin\ directory. The DLL is then available to be loaded and called by the File Server.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.