C U T B H P N

Lecture #7 - Interfaces, Guids, and the Registry

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 Reference

Content:

Today we continue discussing in-process COM components.
  1. Syllabus
    Describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. Projects:

  3. Microsoft Connect Conference
  4. Microsoft Component Object Model (COM):

  5. COM Tools:

  6. Building COM Components

    Instructions and Fixes:
    Building COM components is more complicated than building non-COM C++ projects. Find instructions here.
  7. 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

CST strip