CPlusOOP
SiteMap
Advanced COM
Basic COM
ATL Development
«Prev
Next»
Com Fundamentals
Component Object Model
COM Specification
Terminology Com Objects
COM Method Property
COM Interface Properties
Interface Definition Language
Compiling IDL Files
Implementing COM Objects
iunknown Interface Navigation
iunknown Reference Counting
COM Type Library
COM Basics
COM Class Objects
iclassfactory Creates Objects
COM Servers
InProcess Com Servers
Creating COM Objects
In Process Com Server
Development Frameworks
Core ATL Classes
Generate ATL Process ComServer
Add COM Class
Adding COM
Examine ATL Code
ATL Project Files
phbook.idl-phbook.h
Designing Data Structures
Designing Methods
Adding Structures Constants
Add readWrite Property
Add Read Only
Add Interface Methods
Add Application Data
Coding COM Methods
Add Phone Record
COM Server Conclusion
Add methods to IManagePhBook - Exercise
Add methods to IManagePhBook
Objective:
Add methods AddPhoneRec and DeletePhoneRec to IManagePhBook.
Instructions
Part 1: Add methods
Using the code listed above, add the following methods to
IManagePhBook
:
AddPhoneRec
DeletePhoneRec
Part 2: Build the project
Make sure the project builds without errors.
Exercise scoring
This exercise is worth 30 points and is scored automatically. Once the project builds, click the
Submit
button and you will receive full credit for the exercise.
If you have any questions, check use the Search bar located at the top of this page.