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 Methods
iClassfactory Creates Objects
COM Servers
InOrocessServer Registers
InProcess Com Servers
dllCanUnloadNow Described
Creating COM Objects
COM Interfaces
Client Side Code
COM Basic Conclusion
In Process Com Server
Development Frameworks
Core ATL Classes
Generate ATL Process ComServer
Add COM Class
Examine ATL Code
ATL Project Files
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 COM object- Exercise
Add COM Object
Objective:
Add COM object PhBookObj into the project.
Instructions
Add COM object
PhBookObj
with interfaces
IReadPhBook
and
IManagePhBook
into the project as you did in the simulation. Use the following information:
COM object name
PhBookObj
No. of interfaces
2
Interface names
IReadPhBook
IManagePhBook
Interface type
Custom interface
Aggregatable
Checked
Exercise scoring
This exercise is worth 10 points and is scored automatically. When you are done, click the
Submit
button and you will receive full credit for the exercise.
Submit