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 using the interfaces
  1. IMyComInterface and
  2. IYourComInterface.
When you are done, write or paste your code into the text area below and click Submit to submit your answer.

Exercise Scoring and Submission

  1. This exercise is worth a total of 10 points. There is no partial credit
  2. Click Submit to submit this exercise .