INTERFACE

I am very clear on not running APIs from dot.net as it drastically decrease perfromance. I have therefore planned to create all device interfacing program in vc++, and UI in VS2005 c#. This will make UI developement easy.
To create a VC++ app however i have a small constraint. I have 3 different type of device that are providing same Dial() method but with defferent device API at moment. The applicaion therefore must be pluggable, to other device in future.

I am not sure if it is better if i create an ATL projects for each devices, that all have method called dial() and derived form .... that implements Dial() method. I need basic instruction first to create project, implemnting interface. I have blur knowledge in vtable, iinterface,iunknown. Please suggest!



Answer this question

INTERFACE