Click on the following link to download the example: ECom.zipDownload some additional files required by the example: CommonFramework
Click: browse to view the example code.View the additional files: browse .
InterfaceImplementation provides two implementations of the CExampleInterface interface that is defined in the InterfaceDefinition example.
The implementations, CImplementationClassOne and CImplementationClassTwo , each define CExampleInterface 's virtual DoMethodL() function to return a string, and to set an integer parameter passed by the client.
The 10009DB1.rss file contains a REGISTRY_INFO resource that declares ECom registration information for the two implementations.
Building InterfaceImplementation produces a DLL, EComExample.dll , and compiled resource file, EComExample.rsc , in the \resource\plugins\ directory.
A client program that accesses these implementations is provided in the Interface Client example.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.