OOPortal OOPortal


Basic COM  «Prev  Next»

Defining COM Object in C++- Exercise

Objective: Define a C++ implementation of a COM object using multiple inheritance.

Instructions

Using the definition of IMyComInterface and IYourComInterface, define a C++ class CMyComObject to implement COM object MyComObject with interface IMyComInterface and IYourComInterface. When you are done, write or paste your code into the text area below and click Submit to submit your answer.

Exercise scoring


This exercise is worth a total of 10 points. There is no partial credit

Exercise Submission

Click Submit to submit this exercise .