Symbian3/SDK/Source/GUID-22F4D9EA-9912-466E-B729-7706BC17BDA1.dita
changeset 13 48780e181b38
parent 0 89d6a7a84779
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
     7     Nokia Corporation - initial contribution.
     7     Nokia Corporation - initial contribution.
     8 Contributors: 
     8 Contributors: 
     9 -->
     9 -->
    10 <!DOCTYPE task
    10 <!DOCTYPE task
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    12 <task id="GUID-22F4D9EA-9912-466E-B729-7706BC17BDA1" xml:lang="en"><title>Write
    12 <task id="GUID-22F4D9EA-9912-466E-B729-7706BC17BDA1" xml:lang="en"><title>Write a converter DLL project file</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
    13 a converter DLL project file</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
    13 <context id="GUID-B81294BB-5145-48B0-B39D-D69C9186ED2C">       <p>Project file defines the location of the source
    14 <context>       <p>Project file defines the location of the source files that
    14 files that required are to build a plug-in.</p><p>To write a converter
    15 required are to build a plug-in.</p><p>To write a converter DLL project file,
    15 DLL project file, specify the following in the <codeph>.mmp</codeph> file:</p><ul>
    16 specify the following in the <codeph>.mmp</codeph> file:</p><ul>
       
    17 <li><p>The extension of the target file as <codeph>.dll</codeph>.</p></li>
    16 <li><p>The extension of the target file as <codeph>.dll</codeph>.</p></li>
    18 <li><p>The <codeph>TARGETTYPE</codeph> as <codeph>plugin</codeph>.</p></li>
    17 <li><p>The <codeph>TARGETTYPE</codeph> as <codeph>plugin</codeph>.</p></li>
    19 <li><p>The second UID as <codeph>0x10009d8d</codeph>. This value identifies
    18 <li><p>The second UID as <codeph>0x10009d8d</codeph>. This value identifies
    20 the DLL as an ECom plug-in. The third UID (<codeph>0xE800009B</codeph> in
    19 the DLL as an ECom plug-in. The third UID (<codeph>0xE800009B</codeph> in this example) must be unique and properly allocated. See the <xref href="https://www.symbiansigned.com/app/page" scope="external">Symbian
    21 this example) must be unique and properly allocated. See the <xref href="https://www.symbiansigned.com/app/page.dita">Symbian
    20 Signed</xref> Symbian Signed web site for information on how to allocate
    22 Signed</xref>Symbian Signed web site for information on how to allocate UIDs.</p></li>
    21 UIDs.</p></li>
    23 <li><p>The library section must include <codeph>conarc.lib</codeph>. </p></li>
    22 <li><p>The library section must include <codeph>conarc.lib</codeph>. </p></li>
    24 </ul><p>The following is an example of an <codeph>.mmp</codeph> file that
    23 </ul><p>The following is an example of an <codeph>.mmp</codeph> file
    25 builds a converter DLL called <codeph>EXAMPLECONV.dll</codeph>:</p><codeblock xml:space="preserve">// ExampleConv.MMP
    24 that builds a converter DLL called <codeph>EXAMPLECONV.dll</codeph>:</p><codeblock xml:space="preserve">// ExampleConv.MMP
    26 target      exampleconv.dll
    25 target      exampleconv.dll
    27 targettype  plugin
    26 targettype  plugin
    28 UID     0x10009d8d 0xE800009B
    27 UID     0x10009d8d 0xE800009B
    29 VENDORID    0x70000001
    28 VENDORID    0x70000001
    30 CAPABILITY  All -Tcb
    29 CAPABILITY  All -Tcb