CSE775 - Distributed Objects
Lecture #11 - COM Types, Introduction to Apartments
Revised: 4/20/2011
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:
In this lecture we concentrate on representing a variety of types used in COM development, then turn to an
introduction to COM Apartments, in preparation for the next lecture on Win32 threads.
- 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,
Project #2,
Final Projects
- Review of In-Process Components:
- IDL Presentation
Discusses the types most frequently used with COM.
- Interfaces
Shows how to pass most common types of data through COM interfaces, e.g., basic types,
strings, pointers, and arrays.
- Review of other COM Topics:
- Apartments:
COM String References
- IDL Links
- Static and Dynamic Link Libraries:
static library tips,
using interfaces and classes in DLLs,