Intro to COM What is it and what can it do for me?

Slides:



Advertisements
Similar presentations
Fundamentals of COM Mary Kirtland Program Manager COM Team Microsoft Corporation.
Advertisements

MHK200 Module 1: Introduction to Windows CE. MHK200 Overivew Windows CE Design Goals Windows CE Architecture Supported Technologies, Libraries, and Tools.
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.
Components David Talby. This Lecture What Components Are With Demonstrations in Delphi Common Object Model (COM) Creating and calling objects Distributed.
ACTIVE X By Ethan Huang. OUTLINE What is ActiveX? Component of ActiveX Why ActiveX? ActiveX and Java Security Issue.
Designing OCX Components Supervised by : Dr. Driss Kettani.
Computer Science Lecture 24, page 1 CS677: Distributed OS Today: More Case Studies DCOM Jini.
Spatial Data Server for Mobile Environment EDBT 2004, Greece March 16, B.W. Oh, M.S. Kim, M.J. Kim, and E.K. Lee Spatial Information Technology Center,
1 COM/DCOM n Part of Project Presentation (Concept Outline)
COM: Microsoft's Component Object Model Andrew C. Hopkins CSCI 397C-16 Object Oriented Database Design and Management Professor Renee Renner.
Visual Basic 6.0 Derived from BASIC Developed by Microsoft in 1998 An event driven programming language Associated with a development environment.
Ch 1. Introduction Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2012.
DCOM Technology. What is DCOM? DCOM is just COM with a longer wire DCOM is just COM with a longer wire DCOM extends COM to support communication among.
DCOM Technology Şevket Duran Haşim Sak.
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.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
CHAPTER 3 The Component Object Model and DirectX © 2008 Cengage Learning EMEA.
CSC Proprietary 9/11/2015 2:16:16 AM 008_P2_CSC_white 1.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Obsydian OLE Automation Ranjit Sahota Chief Architect Obsydian Development Ranjit Sahota Chief Architect Obsydian Development.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
Introduction to COM by Mark Bartosik August 2001 Introduction to COM Prerequisites: –A small experience in at least one programming language, ideally C,
Threading Models in Visual Basic Language Student Name: Danyu Xu Student ID:98044.
Chapter 1: Creating ActiveX Clients By Noppadon Kamolvilassatian Dept. of Computer Engineering, Prince of Songkla University Source: Mastering Visual Basic.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
‘Tirgul’ # 7 Enterprise Development Using Visual Basic 6.0 Autumn 2002 Tirgul #7.
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
DCOM (Overview) by- Jeevan Varma Anga.
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.
COM and DCOM CS 562 February 27, Motivation Data Analyzer Resource Monitor int compute (…) { } int compute (…) { } Data Analyzer int compute (…)
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
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Information Management NTU Interprocess Communication and Middleware.
A COM implementation of the KSpace A ‘Knowledge Space prototype’ by Santhosh CST
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.
1 Course Title: Visual Basic Programming Topic: Introduction to programming Languages (Visual basic 6.0) Lecturer: Mahamud Ahmed Jimale, BsIT, MsCs, CCNA,
Making LabVIEW look like an IOC Kay-Uwe Kasemir, LANL May 2002.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
Introduction to COM and ActiveX Controls. What is an object? In the Fayad sense of the word.
Modeling COM/COM+ components with UML Eran Gery I-Logix.
Active Server Pages and Application Service Providers Architecture for 2000 and beyond Krishen Kota Denali Technologies
GVis: Grid-enabled Interactive Visualization State Key Laboratory. of CAD&CG Zhejiang University, Hangzhou
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.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
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)
Anritsu Automation Platform (AAP) AAP PC Connects to the system via IP connection (system switch) AAP was developed to add features that were requested.
XML Over The Web Today Dino Esposito Wrox Press
Remote Method Invocation by James Hunt, Joel Dominic, and Adam Mcculloch.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Reconfigurable Communication Interface Between FASTER and RTSim Dec0907.
7-1 Active Server and ADO Colorado Technical University IT420 Tim Peterson.
OPC Status Nov CA Client->OPC: Andrei Makhnachev,DESY OPC-> CA Server: Kay-Uwe Kasemir, LANL OPC Experience: Matthias Clausen, DESY.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
Basics Components of Web Design & Development Basics, Components, Design and Development.
Components David Talby. 9/27/2016 Object Oriented Design Course 2 This Lecture What Components Are With Demonstrations in Visual Basic Common Object Model.
Component Object Model(COM)
Component Object Model
Component Object Model
Microsoft’s Distributed Component Object Model (DCOM)
Planning the Addressing Structure
COM, DCOM and Software Components
Presented By Justas Raslanas
Presentation transcript:

Intro to COM What is it and what can it do for me?

COM Defined COM (Component Object Model) and DCOM (Distributed COM) are a set of binary and network standards for the modeling of objects and their communications.

OK, What are Components? Components are big brother of Classes. Component = Object Interface = Function Set of that Object Properties = Member Variables –(all Properties are actually get & put calls) Methods = Functions BONUS: Components can have more than one interface.

What makes up a Component? Implementation object Interface object(s) IFooExIFoo Implementation Object IUnknown Components are well-encapsulated objects

Identifiers GUID (globally unique identifiers) –are stored in 16-byte (128 bit) structures CLSID (class identifier GUID) IID (interface identifier GUID) IUnknown QueryInterface –Returns a pointer to requested Interface AddRef –Increases the RefCount Release –Decreases the RefCount

Where do components live? In-Process servers (.dll) Out-of-Process servers (.exe) Remote servers (.exe) ActiveX (.ocx)

Using Components Rapid Application Development Seamless application updates Build great apps without reinventing the wheel Interface different systems with ease Examples: Serial port communications, Scanner image capture, Image archive systems, internet server interaction (CDDB)

What languages can I use? C++, Java, Visual Basic and VB Script (IIS) ActiveX technology, Use MS ATL (VC++) Component creation Component use in applications

Why should you learn COM? Saves tremendous time (after the initial learning curve) Use of existing objects Object Reuse: C++ tried to address this issue, but just made it easy to reuse source code. So you can use DCOM.

Parallel Programming Three main types of applications: –CPU intensive graphics rendering BFA –Resource Specific DCOM lets you do this seamlessly –Highly connected custom data, application structures hybrid memory models

Cradle - Traveling Salesman

6min 30 sec 16 sec

197 days 3.5 Days

Life 3D

Life3D face relationships

Symera Viewer

Clustering Scenarios Tight Coupling Loose Coupling

Life3D Class Conversion CMainWindowCFaceWindow CCubeFace (interface) CFace (implementation) CSymObjCSymObjRef Original classes New classes Symera base classes CCubeFace CSymObj User Interface Distributed Object

Recommended Reading Dr. GUI articles on COM - a MUST READ Essential COM by Don Box Inside COM & Inside Distributed COM (MS Press) ActiveX/COM Control Programming (WROX Press) For the complete history and theory, read: –Inside OLE (MS Press)