Symbian3/SDK/Source/GUID-22F4D9EA-9912-466E-B729-7706BC17BDA1.dita
changeset 0 89d6a7a84779
child 13 48780e181b38
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-22F4D9EA-9912-466E-B729-7706BC17BDA1" xml:lang="en"><title>Write
       
    13 a converter DLL project file</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    14 <context>       <p>Project file defines the location of the source files that
       
    15 required are to build a plug-in.</p><p>To write a converter DLL project file,
       
    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>
       
    18 <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
       
    20 the DLL as an ECom plug-in. The third UID (<codeph>0xE800009B</codeph> in
       
    21 this example) must be unique and properly allocated. See the <xref href="https://www.symbiansigned.com/app/page.dita">Symbian
       
    22 Signed</xref>Symbian Signed web site for information on how to allocate UIDs.</p></li>
       
    23 <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
       
    25 builds a converter DLL called <codeph>EXAMPLECONV.dll</codeph>:</p><codeblock xml:space="preserve">// ExampleConv.MMP
       
    26 target      exampleconv.dll
       
    27 targettype  plugin
       
    28 UID     0x10009d8d 0xE800009B
       
    29 VENDORID    0x70000001
       
    30 CAPABILITY  All -Tcb
       
    31 sourcepath  .
       
    32 start resource E800009B.rss
       
    33 target exampleconv.rsc
       
    34 end
       
    35 start resource E80000AC.rss
       
    36 targetpath /resource/convert
       
    37 end
       
    38 userinclude .
       
    39 systeminclude   . /epoc32/include
       
    40 systeminclude  /epoc32/include/ecom
       
    41 source      ExampleConv.CPP
       
    42 library     euser.lib
       
    43 library     conarc.lib estor.lib
       
    44 </codeblock></context>
       
    45 </taskbody></task>