OOPortal
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
Core ATL Classes
Examine ATL Code
ATL Project Files
Designing Data Structures
Add readWrite Property
Add Read Only
Coding COM Methods
Add Phone Record
Add a read-write property - Exercise
Add a read-write property
Objective:
Add read-write property CurRec to interface IReadPhBook.
Instructions
Part 1: Add
CurRec
to interface
IReadPhBook
with the following properties
Name
CurRec
Property Type
long
Part 2: Build the project
Make sure the project builds without any errors.
Exercise scoring
This exercise is worth 5 points and is scored automatically. When you are done, click the
Submit
buton and you will receive full credit for the exercise.