×
Namespaces

Variants
Actions
Revision as of 08:52, 3 February 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DLL

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
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.


References


External Links

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

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×