This page was last modified 13:14, 8 December 2007.
Polymorphic DLL
From Forum Nokia Wiki
A polymorphic DLL contains an interface defined by a gate function and an abstract class with at least one virtual function.
The polymorphic DLL exports the gate function at ordinal 1, which typically constructs a concrete class derived from the abstract interface. The virtual function is then called, and the functions of the class are available.
Examples of polymorphic DLLs in Symbian OS include ECom plug-ins, device drivers, Front End Processors, and many more.
Each type of interface should specify its own UID, which is used as uid2 for the polymorphic DLL.
The function responsible for loading a polymorphic DLL should check that its uid2 corresponds with the expected interface type.
For polymorphic DLLs, the interpretation of uid3 depends on the interface type. uid3 may not be required by all interfaces.
The build process for a polymorphic DLL produces an import library, but it is not used.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S60 3rd ed FP1 emulator crashes on startup with DEP enabled | tchan | Symbian Tools & SDKs | 14 | 2008-07-28 13:47 |
| Porting ffmpeg to symbian os | NewSym | Open C | 39 | 2008-06-13 04:47 |
| Device crash | engrsanjiv | General Symbian C++ | 2 | 2004-02-21 12:07 |
| Publish and Subscribe Security policy issue | reeju | General Symbian C++ | 2 | 2008-07-25 10:10 |
| CEikonEnv on dll ie. resources to use | tappikin | Symbian User Interface | 0 | 2004-01-05 12:36 |
