Symbian3/SDK/Source/GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4.dita
changeset 13 48780e181b38
parent 7 51a74ef9ed63
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 concept
    10 <!DOCTYPE concept
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
    12 <concept id="GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4" xml:lang="en"><title>CreateStaticDLL
    12 <concept id="GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4" xml:lang="en"><title>CreateStaticDLL and UseStaticDLL: using a statically linked
    13 and UseStaticDLL: using a statically linked DLL</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    13 DLL</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    14 <section id="GUID-A88465CB-D776-49CD-AA0C-1BAD59D340B6"><title>Description</title> <p>The example shows how a class implemented
    14 <section id="GUID-A88465CB-D776-49CD-AA0C-1BAD59D340B6"><title>Description</title> <p>The example shows how a class implemented in a statically linked
    15 in a statically linked DLL is used. The DLL is built by <filepath>CreateStaticDLL</filepath> and
    15 DLL is used. The DLL is built by <filepath>CreateStaticDLL</filepath> and is used by <filepath>UseStaticDLL</filepath>. </p> </section>
    16 is used by <filepath>UseStaticDLL</filepath>. </p> </section>
    16 <section id="GUID-D201398C-0D5C-4DA5-BEE6-A85BFDDD16BE"><title>Download</title> <p>Click on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-2e2b4dbb-291f-428c-82bf-fe796b4f50f4.zip" scope="external">StaticDLL.zip</xref></p><p>Click on the following
    17 <section id="GUID-D201398C-0D5C-4DA5-BEE6-A85BFDDD16BE"><title>Download</title> <p>Click on the following link
    17 link to download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.zip" scope="external">CommonFramework.zip</xref>.</p><p>Click<xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-2e2b4dbb-291f-428c-82bf-fe796b4f50f4.html" scope="peer"> browse StaticDLL</xref> to view the example code. </p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.html" scope="peer">browse CommonFramework</xref>  to view additional files.</p> </section>
    18 to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-2e2b4dbb-291f-428c-82bf-fe796b4f50f4.zip" scope="external">StaticDLL.zip</xref></p><p>Click on the following link to
    18 <section id="GUID-98C5D73C-E983-4530-92E9-439E47B43162"><title>Build
    19 download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.zip" scope="external">CommonFramework.zip</xref>.</p><p>Click<xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-2e2b4dbb-291f-428c-82bf-fe796b4f50f4.html" scope="peer"> browse StaticDLL</xref> to view the example code. </p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.html" scope="peer">browse CommonFramework</xref>  to view additional files.</p> </section>
    19 and Usage</title> <p>The example may be in the directory in which
    20 <section id="GUID-98C5D73C-E983-4530-92E9-439E47B43162"><title>Build and Usage</title> <p>The example may be in the directory
    20 you installed the Symbian platform, or it may be in <filepath>src\common\developerlibrary\</filepath>. The example includes the project files needed for building: <filepath>bld.inf</filepath> and two <filepath>.mmp</filepath> files. </p> <p> The Symbian platform build process describes how to build Symbian
    21 in which you installed the Symbian platform, or it may be in <filepath>src\common\developerlibrary\</filepath>.
    21 programs. To run this example: </p> <ol id="GUID-C12016AA-4582-5812-BD1B-4D36A27679EB">
    22 The example includes the project files needed for building: <filepath>bld.inf</filepath> and
    22 <li id="GUID-9CC286FF-4935-5C53-A5D5-486A280E4437"><p>Build <filepath>CreateStaticDLL</filepath> project, which results in the following: </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel or          
    23 two <filepath>.mmp</filepath> files. </p> <p> <xref href="GUID-3100800B-B2F7-50EF-BD4C-3C345ECCB2A5.dita">The
    23       udeb&gt;\CREATESTATICDLL.DLL</filepath>. </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel
    24 Symbian platform build process</xref> describes how to build Symbian programs.
    24 or                 udeb&gt;\CREATESTATICDLL.lib</filepath>. </p> <p>They
    25 To run this example: </p> <ol id="GUID-C12016AA-4582-5812-BD1B-4D36A27679EB">
    25 are needed by the <filepath>UseStaticDLL</filepath> project. </p> </li>
    26 <li id="GUID-9CC286FF-4935-5C53-A5D5-486A280E4437"><p>Build <filepath>CreateStaticDLL</filepath> project,
    26 <li id="GUID-BE21E3AF-9D89-5CC3-915E-1688BCC49866"><p>Build <filepath>UseStaticDLL</filepath>, which results in: </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel
    27 which results in the following: </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel
    27 or                 udeb&gt;\USESTATICDLL.EXE</filepath>. </p> <p>This
    28 or                 udeb&gt;\CREATESTATICDLL.DLL</filepath>. </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel
    28 project use the DLL created in the previous steps. </p> </li>
    29 or                 udeb&gt;\CREATESTATICDLL.lib</filepath>. </p> <p>They are
    29 <li id="GUID-E857288D-77D6-58E5-971A-7FFF8B95E843"><p>Run the executable <filepath>USESTATICDLL.EXE</filepath>. </p> <p>Executables for the <filepath>winscw</filepath> target can be run on your PC. Executables for ARM
    30 needed by the <filepath>UseStaticDLL</filepath> project. </p> </li>
    30 targets must be copied to a phone before being run. </p> </li>
    31 <li id="GUID-BE21E3AF-9D89-5CC3-915E-1688BCC49866"><p>Build <filepath>UseStaticDLL</filepath>,
       
    32 which results in: </p> <p> <filepath>\epoc32\release\&lt;target&gt;\&lt;urel
       
    33 or                 udeb&gt;\USESTATICDLL.EXE</filepath>. </p> <p>This project
       
    34 use the DLL created in the previous steps. </p> </li>
       
    35 <li id="GUID-E857288D-77D6-58E5-971A-7FFF8B95E843"><p>Run the executable <filepath>USESTATICDLL.EXE</filepath>. </p> <p>Executables
       
    36 for the <filepath>winscw</filepath> target can be run on your PC. Executables
       
    37 for ARM targets must be copied to a phone before being run. </p> </li>
       
    38 </ol> </section>
    31 </ol> </section>
    39 </conbody></concept>
    32 </conbody></concept>