OOPortal
SiteMap
Advanced COM
Basic COM
Basic COM
«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
COM client server interaction and method requirements - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
What is the basis of client-server interaction in COM?
Please select the best answer.
A.
Communication between the client and the COM server
B.
Communication between the client and a COM object's data
C.
Communication between the client and a COM object's interface methods
2.
What does local/remote transparency mean?
Please select the best answer.
A.
The client tells COM where to find the server. The location of the server is transparent to COM.
B.
The client accesses COM objects. The location of the server implementing those objects is transparent to the client.
C.
The COM server registers with all known clients. This process is transparent to the COM object.
3.
What are the binary and return value requirements of a COM method?
Please select all the correct answers.
A.
C/C++ calling conventions--i.e.,
__stdcall
.
B.
COM methods must return application-specific error codes as return values.
C.
Return HRESULT.
D.
First parameter to a method must be a pointer back to the interface that contains the method.