CSE775 - Distributed Objects

Lecture #7 - IDL and COM Clients

Revised: 03 February 2008
Home Courses Code Handouts CoreTech Books Articles Math Research Masters Projects SWDev WebDev News OtherLinks SiteDesign Graduates AllPages Office Hours Notices Contents

CSE681-SWMAA CSE686-IP CSE687-OOD CSE775-DO CSE776-DP CSE778-AWP CSE784-SWS

Lecture #01 Lecture #02 Lecture #03 Lecture #04 Lecture #05 Lecture #06 Lecture #07
Lecture #08 Lecture #09 Lecture #10 Lecture #11 Lecture #12 Lecture #13 Lecture #14
Lecture #15 Lecture #16 Lecture #17 Lecture #18 Lecture #19 Lecture #20 Lecture #21
Lecture #22 Lecture #23 Lecture #24 Lecture #25 Lecture #26 Lecture #27 Lecture #28

Contents Syllabus

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

Office Hours: Instructor & TAs

Content:

This lecture introduces Interface Definition Language (IDL). You've seen some of this already, so here we concentrate on representing a variety of types used in COM development.
  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. Project #1
  3. In-Proc Components
  4. Class Diagram Structure Chart Activation Diagram Virtual Function Pointer Table
  5. In-Proc Component code
    We will go over this code, line-by-line.
  6. COM String References

    http://devguy.com/fp/Tips/COM/bstr.htm
    http://www.codeproject.com/string/bstrsproject1.asp
    http://www.codeproject.com/cpp/easybstr.asp
    http://www.codeguru.com/Cpp/Cpp/string/conversions/article.php/c5639/
    http://www.ecs.syr.edu/faculty/fawcett/handouts/CSE775/Presentations/BruceMcKinneyPapers/COMstrings.htm
  7. IDL Presentation
    Discusses the types most frequently used with COM.
  8. Interfaces
    Shows how to pass most common types of data through COM interfaces, e.g., basic types, strings, pointers, and arrays.
  9. IDL Links