COM Fundamentals II( WT-1191-180 )
| Course Description |  |

This course provides instruction on COM (Common Object Model) reuse mechanisms, containment/delegation, and aggregation. It includes course projects creating two new COM objects that reuse the PhBookObj object developed in COM Fundamentals I. In the first project, students will create an in-process COM object that reuses PhBookObj via containment/delegation. In the second project, students will create a COM object that reuses PhBookObj through aggregation. Additionally, students will develop a COM client that uses both of the new COM objects created in the course.
This course requires Microsoft Visual C++ 5.0 or 6.0. It also requires a computer running Windows, Macintosh, or UNIX. To complete the exercises, however, you must have access to a computer running Windows 95/98/NT.
eMentoring Services are included with this course.
Course length: 10 hours
| Course details |
| id:
WT-1191-180 |
| subscription duration:
180 days
| | list price: $
450.00 |
|
Languages Offered |
 |
This course is currently available in English only.
|
Who Can Benefit |
 |
Programmers
|
Prerequisites |
 |
To succeed fully in this course, students should be able to: Demonstrate completion of COM Fundamentals I, or equivalent knowledge and experience
|
Skills Gained |
 |
Upon completion of this course, you should be able to: Understand source code and binary-level reusabilityUnderstand COM reusability mechanismsUnderstand containment/delegationDevelop a COM object that reuses another COM object via containment/delegationUnderstand aggregation conceptsDevelop a COM object to support aggregationDevelop a COM object that aggregates another COM objectDevelop a COM client that uses composite COM objects built from containment/delegation and aggregation
|
Related Courses |
 |
Before: COM Fundamentals I
|
Course Content |
 |
Course introductionPrerequisitesWhat you needWhat to expectMeet your tutorMeet your instructorCourse project
|
Module 2: Reusability and containment/delegation |
Back To Top
| Reusability and containment/delegationIntegrating objects: C++ classesIntegrating components: COM componentsIntegrating components: COM component advantagesReusability and C++Reusability and componentsCOM reusability mechanismsContainment/delegation conceptsContainment/delegation issuesModule wrap-up
Reusability and aggregationWhat aggregation doesAggregation reviewInterface navigationReference countingAggregation guidelinesAggregation guidelines: inner objectsAggregation guidelines: outer objectsAggregation guidelines: IUnknown information exchangeAggregation summaryModule wrap-up
Using containment/delegationThe outer COM objectExamining PhBookObjStart implementing MemoType information and include filesAdding interface pointers for IReadPhBook and IManagePhBookATL core classesATL's initialization sequenceATL's termination sequenceInstantiating and releasing PhBookObjAdd delegating implementation of IReadPhBook and IManagePhBookImplementing IMemo: adding internal data structuresImplementing IMemo: adding internal methodsImplement IMemo methodsModule wrap-up
Developing a COM clientCOM client concept reviewSmart pointer reviewATL smart pointersCreate the client project: InfoMgrCliCalling IManagePhBook and IReadPhBookCalling into IMemoModule wrap-up
AggregationAggregation functionalityContainment/delegation vs. aggregationThe outer objectThe role of the inner/aggregated object, part 1The role of the inner/aggregated object, part 2Aggregation summaryHow ATL supports aggregation, part 1How ATL supports aggregation, part 2Module wrap-up
Implementing aggregationAggregating an object with ATL, part 1Aggregating an object with ATL, part 2Aggregating an object with ATL, part 3Implementing InfoMgrAggImplementing IMemo in MemoAggAdd constants, variables, and data structuresImplementing IMemoAdding code to aggregate PhBookObjDeveloping a clientModule wrap-up
Course wrap-upWe'd love your feedbackHelp us help you learn! |