Click on the following link to download the example: ECom.zip
Download some additional files required by the example: CommonFrameworkClick: 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.