diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4.dita --- a/Symbian3/SDK/Source/GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4.dita Fri Jul 16 17:23:46 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-176FD8C9-B4A9-5B50-B683-AB5DA7D5D6F4.dita Tue Jul 20 12:00:49 2010 +0100 @@ -1,39 +1,32 @@ - - - - - -CreateStaticDLL -and UseStaticDLL: using a statically linked DLL -
Description

The example shows how a class implemented -in a statically linked DLL is used. The DLL is built by CreateStaticDLL and -is used by UseStaticDLL.

-
Download

Click on the following link -to download the example: StaticDLL.zip

Click on the following link to -download additional files: CommonFramework.zip.

Click browse StaticDLL to view the example code.

Click browse CommonFramework to view additional files.

-
Build and Usage

The example may be in the directory -in which you installed the Symbian platform, or it may be in src\common\developerlibrary\. -The example includes the project files needed for building: bld.inf and -two .mmp files.

The -Symbian platform build process describes how to build Symbian programs. -To run this example:

    -
  1. Build CreateStaticDLL project, -which results in the following:

    \epoc32\release\<target>\<urel -or udeb>\CREATESTATICDLL.DLL.

    \epoc32\release\<target>\<urel -or udeb>\CREATESTATICDLL.lib.

    They are -needed by the UseStaticDLL project.

  2. -
  3. Build UseStaticDLL, -which results in:

    \epoc32\release\<target>\<urel -or udeb>\USESTATICDLL.EXE.

    This project -use the DLL created in the previous steps.

  4. -
  5. Run the executable USESTATICDLL.EXE.

    Executables -for the winscw target can be run on your PC. Executables -for ARM targets must be copied to a phone before being run.

  6. -
+ + + + + +CreateStaticDLL and UseStaticDLL: using a statically linked +DLL +
Description

The example shows how a class implemented in a statically linked +DLL is used. The DLL is built by CreateStaticDLL and is used by UseStaticDLL.

+
Download

Click on the following link to download the example: StaticDLL.zip

Click on the following +link to download additional files: CommonFramework.zip.

Click browse StaticDLL to view the example code.

Click browse CommonFramework to view additional files.

+
Build +and Usage

The example may be in the directory in which +you installed the Symbian platform, or it may be in src\common\developerlibrary\. The example includes the project files needed for building: bld.inf and two .mmp files.

The Symbian platform build process describes how to build Symbian +programs. To run this example:

    +
  1. Build CreateStaticDLL project, which results in the following:

    \epoc32\release\<target>\<urel or + udeb>\CREATESTATICDLL.DLL.

    \epoc32\release\<target>\<urel +or udeb>\CREATESTATICDLL.lib.

    They +are needed by the UseStaticDLL project.

  2. +
  3. Build UseStaticDLL, which results in:

    \epoc32\release\<target>\<urel +or udeb>\USESTATICDLL.EXE.

    This +project use the DLL created in the previous steps.

  4. +
  5. Run the executable USESTATICDLL.EXE.

    Executables for the winscw target can be run on your PC. Executables for ARM +targets must be copied to a phone before being run.

  6. +
\ No newline at end of file