CSE775 - Distributed Objects
Lecture #6 - InProc Component Structure
Revised: 5 February 2008
Web Resources:
Code Project
Win32, COM, MFC
DevelopMentor
Windows Developer's Journal
Windows Forms
GotDotNet
C# Corner
IDL and WDSL
COM at MSDN
IDL Language
base MIDL types
OLE data types
IDL attributes
MIDL data types
MIDL Language Reference
conversion functions
Content:
Today we finish examples of Win32 Windows programming, and begin discussing in-process COM components.
-
Syllabus
Describes topics to be covered,
reading material for you to digest before coming to class, and due dates
for the assigned projects.
-
Project #1
-
In-Proc Components
-
Add External Tools
Register Tool
unRegister Tool
guidgen tool
What to Register?
-
Class Diagram
Structure Chart
Activation Diagram
-
Virtual Function Pointer Table
You won't understand IUnknown::QueryInterface unless you understand this diagram.
-
In-Proc Component code
We will go over this code, line-by-line.
-
Building COM Components
-
Peek forward at an ATL project - ATL_FirstDemoSp08
-
IDL Presentation
These slides discuss how to describe the structure of a COM interface.
-
Interfac Project
Shows how to pass most common types of data through COM interfaces, e.g., basic types,
strings, pointers, and arrays.
-
IDL Links