Web Resources:
Linux Tutorials eclipse Code Project SysInternals Best SysInternals Tools Dr. Dobb's Journal Windows Forms COM at MSDN IDL Language base MIDL types IDL attributes MIDL Language ReferenceContent:
Today we continue 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. -
Projects:
Project #1
Project #1 Statement, Project1HelpS19 Final Projects
Final Project Statements
Final Presentations Schedule, xlsx - Microsoft Connect Conference
-
Microsoft Component Object Model (COM):
-
COM Tools:
-
Building COM Components
Instructions and Fixes:
Building COM components is more complicated than building non-COM C++ projects. Find instructions here. -
Details:
Objects Supporting Multiple Interfaces
Demonstrates how an ordinary C++ class can support multiple interfaces. 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. class diagram, structure chart, activation diagram, products of MIDL compilation
These diagrams will help you understand the structure and operation of the In-Proc example. IDL Presentation, ppt
These slides discuss how to describe the structure of a COM interface. BSTRs - COM Strings, SafeArrays - COM Arrays, Variants - COM ObjectType Oleautomation types Interfac Project
Shows how to pass most common types of data through COM interfaces, e.g., basic types, strings, pointers, and arrays. IDL Links