COM Programming  «Prev  Next»
Lesson 1
Course introduction
Welcome to COM Fundamentals II. In this course, we will expand on the concepts covered in COM Fundamentals I.
Specifically, we will study COM's (Common Object Model's) reuse mechanisms, containment/delegation and aggregation. Our course projects will involve creating two new COM objects that reuse the PhBookObj object developed in the COM Fundamentals I course.
In the first project, we will create an in-process COM object called Memo, implemented in COM server InfoMgr, that reuses PhBookObj via containment/delegation.
In the second project, we will create COM object MemoAgg, in server InfoMgrAgg, that reuses PhBookObj via aggregation and also implements interface IMemo. Additionally, we will develop a COM client called InfoMgrCli that uses both our new COM objects: InfoMgr and InfoMgrAgg.
By the end of this course, you will be able to:
  1. Understand source code and binary-level reusability
  2. Understand COM's reusability mechanisms
  3. Understand containment/delegation
  4. Develop a COM object that reuses another COM object via containment/delegation
  5. Understand aggregation concepts
  6. Develop a COM object to support aggregation
  7. Develop a COM object that aggregates another COM object
  8. Develop a COM client that uses composite COM objects built from containment/delegation and aggregation