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.InterfaceClient is a simple client program that exercises the interface and implementations provided by the InterfaceDefinition and InterfaceImplementation examples respectively.
Its single class, TInterfaceClient, defines three functions:
GetDefaultL(), which gets the default implementation of the CExampleInterface interface
GetBySpecificationL(), which requests an implementation of the CExampleInterface interface with a specific types of capability
GetByDiscoveryL(), which gets all the implementations on the system of the CExampleInterface interface
InterfaceClient is a console program (.exe). It does not require any user input.