Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.


From Wiki
Jump to: navigation, search
Article Metadata
Created: User:Axs (12 Sep 2007)
Last edited: hamishwillee (03 Feb 2012)

DLL is a Dymamic-Link Library that contains code and data that can be used by more than one program at the same time. The concept of DLL helps to promote code reuse and efficient memory usage, and also eases code deployment and installation.

The DLL may be loaded into the memory when it is actually needed, so the memory usage becomes optimized. Since many applications may use the same DLL at the same time, the amount of required memory will be decreased dramatically which is an important issue on mobile devices.

The Symbian OS and S60 are keeping most of binaries in form of DLLs (more specifically, in form of polymorphic DLLs), which are loaded into the memory upon requests from the applications.

Static Interface DLL

A static interface DLL export functions that can be called by other code that builds against its header files and links against its import library. Static interface DLLs are also known as shared library DLLs. As well as providing Symbian OS APIs, they also have a place in applications programming. In a complex project, abstraction and modularisation can be achieved by designing a system as a collection of separate units, each of which encapsulates a piece of the logical design and provides it as a black box to the rest of the system. Each unit is known to others only by its API, and is built as a library DLL.

Polymorphic Interface DLL

A polymorphic interface DLL exports a single factory function only at a well known location, usually at ordinal #1. Calling this function creates an instance of the newly derived framework class.

Alternative to Polymorphic Interface DLLs

From Symbian OS v7.0 onwards, the ECom plug-in architecture can be used as an alternative to polymorphic DLLs.


External Links

This page was last modified on 3 February 2012, at 05:52.
71 page views in the last 30 days.