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
PhBookObj via containment/delegation.
In the second project, we will create COM object
MemoAgg, in server
InfoMgrAgg, that reuses
via aggregation and also implements interface
IMemo. Additionally, we will develop a COM client called
InfoMgrCli that uses both our new COM
By the end of this course, you will be able to:
Understand source code and binary-level reusability
Understand COM's reusability mechanisms
Develop a COM object that reuses another COM object via containment/delegation
Understand aggregation concepts
Develop a COM object to support aggregation
Develop a COM object that aggregates another COM object
Develop a COM client that uses composite COM objects built from containment/delegation and aggregation