COM: Microsoft's Component Object Model Andrew C. Hopkins CSCI 397C-16 Object Oriented Database Design and Management Professor Renee Renner.

Slides:



Advertisements
Similar presentations
Microsoft Transaction Server COM + Jim Lyon HPTS 99.
Advertisements

.NET Technology. Introduction Overview of.NET What.NET means for Developers, Users and Businesses Two.NET Research Projects:.NET Generics AsmL.
COM, DCOM and Software Components
COM: A Brief Introduction Dan Berger
Fundamentals of COM Mary Kirtland Program Manager COM Team Microsoft Corporation.
COM vs. CORBA.
Intro to COM What is it and how do I use it?. Objectives Teach the fundamentals of COM. Understand the reason for using it. Learn to make a simple in-process.
OPC - OLE For Process Control Paul C. Shafer Bently Nevada Corp.
Designing OCX Components Supervised by : Dr. Driss Kettani.
Distributed Object Computing Weilie Yi Dec 4, 2001.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
1 COM/DCOM n Part of Project Presentation (Concept Outline)
Page 1 Building Reliable Component-based Systems Chapter 17 - Architectural Support for Reuse Chapter 17 Architectural Support for Reuse.
Visual Basic 6.0 Derived from BASIC Developed by Microsoft in 1998 An event driven programming language Associated with a development environment.
How Open is OpenInsight?
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
1 DirectX CIS 487/587 Bruce R. Maxim UM-Dearborn.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Intro to COM What is it and what can it do for me?
1 Modular Software/ Component Software 2 Modular Software Code developed in modules. Modules can then be linked together to produce finished product/program.
Visual Basic: An Object Oriented Approach 12 – Creating and using ActiveX objects.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Introduction to .Net Framework
CIS NET Applications1 Chapter 2 –.NET Component- Oriented Programming Essentials.
 Internet providing backbone for applications  Use of several web sites and devices to provide one complete solution  Software as services  Quick software.
OPC – OLE for PROCESS CONTROL By: Mugdha More. Swagata Bhaumik.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
Object Oriented Design and Programming Alan Goude Room: Sheaf 9323.
Practices of Good Component Design Microsoft Research Asia Advanced Technology.
Microsoft’s Distributed Component Object Model (DCOM) Jim Ries Updated 10/5/1999 A semi-technical overview.
COM/DCOM Implementation Basics of: Object creation and access Object Reuse Interface referencing.
OLE / COM Helia / Martti Laiho Sources: MSDN Kraig Brockschmidt: Inside OLE Orfali-Harkey-Erwards: Client/Server Survival Guide.
Introduction to COM and DCOM Organizational Communications and Technologies Prithvi N. Rao H. John Heinz III School of Public Policy and Management Carnegie.
COMCOM omponent bject odel After this presentation, you will: Be Able To: Conceptual understanding of COM How it works, What it’s used for Decode Acronyms.
Component Object Model
A COM implementation of the KSpace A ‘Knowledge Space prototype’ by Santhosh CST
Object Oriented Programming Dr. Ennis-Cole CECS 5100.
Method-Oriented B2B Application Integration Chapter 4 Sungchul Hong.
January 25, 2006copyright Thomas Pole , all rights reserved 1 Software Reuse: History 1980 to 2005 History: Changes to Software Reuse Driven by.
Chapter 6 Object-Oriented Java Script JavaScript, Third Edition.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Ni.com Understanding COM/ActiveX Jeff Paulter Staff Software Engineer Thurs Aug 17 10:15-11:30 a.m., 1:45-3:00 p.m. Ash (10A) Jeff Paulter Staff Software.
Introduction to COM and ActiveX Controls. What is an object? In the Fayad sense of the word.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
GAM666 – Introduction To Game Programming ● DirectX is implemented as a collection of COM objects ● To use a DirectX program, the user must have the correct.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
COM / DCOM Xiaolan Lu Mingzhen Wang Dong Xie. Why COM / DCOM?  Challenges facing the software industry  Component software provides a solution  General.
Seminarium on Component-based Software Engineering Feraaz Imami LIACS – Leiden University Fall 2005 Component Object Model (COM)
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 15 System Architecture III.
Introduction to the Microsoft.NET Framework Chris Wastchak Student Ambassador to Microsoft.
Chapter 13 Web Application Infrastructure
Jim Fawcett CSE775 – Distributed Objects Spring 2006
The Post Windows Operating System
Component Object Model(COM)
Windows Programming Environments
A Hierarchical Model for Object-Oriented Design Quality Assessment
Component Object Model
Component Object Model
Microsoft’s Distributed Component Object Model (DCOM)
COM: A Brief Introduction
Distributed Component Object Model
COM: A Brief Introduction
Introduction to Computer Science for Majors II
COM, DCOM and Software Components
C++/Java/COM Interoperability
Active Template Library
Presented By Justas Raslanas
CORBA and COM TIP Two practical techniques for object composition
Presentation transcript:

COM: Microsoft's Component Object Model Andrew C. Hopkins CSCI 397C-16 Object Oriented Database Design and Management Professor Renee Renner

Introduction Microsoft’s Component Object Model (COM) provides a new methodology for software encapsulation, reuse, and versioning. Derived from Microsoft’s Object Linking and Embedding (OLE) technology.

Reasons For COM Distribution of library source code inefficient.Distribution of library source code inefficient. Dynamic Link LibrariesDynamic Link Libraries –alleviated source code difficulties. –Incompatible cross compiler support. Source code encapsulation, not binary encapsulation.Source code encapsulation, not binary encapsulation.

Primary COM Techniques Interface programming.Interface programming. –Supports binary layout and compatibility. –Contains pure virtual functions and no members. –Inherits from a single ancestor class. –Sets the Virtual Table (VTBL).

Primary COM Techniques The interface, IUnknown.The interface, IUnknown. –All interfaces must ultimately inherit from Iunknown. –Three methods QueryInterfaceQueryInterface AddRefAddRef ReleaseRelease

Primary COM Techniques Reference countingReference counting –AddRef increments the interior count. –Release decrements the interior count. –Object releases itself from memory when reference count is 0. –Maybe per interface or per COM object.

COM Topics Class objectsClass objects –Creates COM components ApartmentsApartments –Handle single and multithreading concerns ServersServers –Contains the binaries for the COM component.

COM Tools Microsoft’s native COM APIMicrosoft’s native COM API Microsoft Foundation Classes (MFC)Microsoft Foundation Classes (MFC) Microsoft’s Active Template Library (ATL)Microsoft’s Active Template Library (ATL)

Conclusion Many more COM topics and techniques.Many more COM topics and techniques. –Interface Definition Language (IDL) –Categories –Automation –Distributed COM (DCOM)

Conclusion (cont) Successfully usedSuccessfully used –Windows operating systems –Microsoft applications for Windows –Third party developers writing for Windows OS Provides for fast, flexible, and reusable software componentsProvides for fast, flexible, and reusable software components

Works Cited Box, Don, Essential COM, Addison-Wesley Publishing Company, Reading, Massachusetts, Denning, Adam, ActiveX Controls Inside Out, Second Edition, Microsoft Press, Redmond, Washington, Rogerson, Dale, Inside COM, Microsoft Press, Redmond, Washington, 1997.