Made with
ConceptDraw
DIAGRAM 18

COM and OLE Diagram

OLE is an acronym for Object Linking and Embedding which is known to be simply a proprietary technology that was developed by “Microsoft Corporation” allowing both linking and embedding to all documents as well as many other objects, which are known to be implemented on top of the so called “Component Object Model” as well as OLE containers.

The mentioned objects can always implement the interfaces to export their functionality. There’s only interface that is compulsory — the “OleObject” one, when all other interfaces may also need to be implemented in case the functionality exported by such interfaces is required at all.

Some of the terminology may have to be explained for the purpose of easing the understanding of what follows. The “view status” of any object means the status clarifying if this object is transparent or opaque. It also may help to represent if it supports any drawing with a definite aspect. The site of an object is a representing an object the location of the object in its container that supports a site object for every single object that is contained.

“DataObject” is known to be one of the main objects within the Object Linking and Embedding processes. After its implementation, it enables data’s transfer as well as notifies about any changes made in data. DataObject must be implemented by those objects that are there to support the “drag-and-drop”, that are pasted from or copied to the clipboard. The last mentioned objects are known to be embedded or linked in a containing document, while another object named the “ObjectWithSite” allows the caller to inform the “OLE object” of its site. The very same functionality can be also provided by another object — “OleObject”.

“OleCache” object allows different visual presentations from a so called “DataObject” to be cached, allowing an embedded object for store its representation, the visual one. It can be done by enabling it to be displayed without needing of starting the application which was previously used for creating the object. At the same time a later version of previously mentioned object — OleCache2 — provides more fine-grained control over the process of caching.

“OleCacheControl” is an interface not called by the container, but by the object for allowing it to receive the needed notifications of when its other object — a “DataObject” one is running, allowing it to subscribe to the different notifications of the data changes of that object. In the described way it allows to update the cached presentation in a proper way.

The “OleDocument” object allows the Object Linking and Embedding object to support many different views of its data and a few related functions, while an “OleDocumentView” is a document object implementing this interface for every view and so allowing the caller to set the site of the query, object as well as to set the size of that particular object, showing and activating it and some of the related functions. “OleInPlaceActiveObject” was called by the outermost container of an object for interacting with it while it's active. For example, there’s a need of processing the so called “accelerator keys” in the container's message queue which are meant for the contained object.

Another object used within the Object Linking and Embedding processes is a windowless one named as a “IOleInPlaceObjectWindowless” one. It is an object which does not have its own window. Instead, it is displayed in its own container's window, being used by the container for relaying all the messages received by the “container's window”. All the mentioned messages are known to be intended for the contained object. “OleLink” allows any object to support the linking and “OleObject” is arguably the most important interface for any other object within the Object Linking and Embedding activities.

At the same time, another сonstituent of the Object Linking and Embedding process is a “ViewObject”. It allows any object to draw itself directly. Thus, there’s no more need left to passs a “DataObject” to the container. For all the objects supporting both DataObject and DataObject interface, the underlying implementation is known to be usually shared. “ViewObject2” allows the caller to query the size of the object and “ViewObjectEx” adds the needed support for any flicker-free drawing of the transparent objects.

There are many other objects which are used within the processes of Object Linking and Embedding and those who know enough to be able to create their own Object Linking and Embedding diagram must know all of them, although to be able to make such diagram quick and so to spend your time more efficiently, you can always use simply a professional software that was developed especially for such purposes — to make it much simpler to create any needed diagram, including the OLE one. This software is a ConceptDraw DIAGRAM diagramming and drawing one available for being downloaded from this site as well as another application as an extension to the mentioned one — ConceptDraw STORE. Getting ConceptDraw STORE means ensuring yourself in making it possible to draw any OLE diagram within only a few hours or even minutes, depending how good (familiar) you are with the mentioned tools already.

You can also, apart from making any OLE diagram, create a COM one using the solution from ConceptDraw STORE named as a “Software Engineering” one. Having all fifteen design symbols of both the COM and the OLE objects from the mentioned solution will enable you to create any needed Object Linking and Embedding diagram as well as any needed COM diagram, including the conceptual diagram of COM aggregation presented on this page as an example of what it is possible to make in ConceptDraw DIAGRAM software.

COM and OLE Diagram

Example 1. Command OLE Aggregation Diagram (COM OLE)

The example above shows a conceptual diagram of COM aggregation. "The outer object exports an interface of the inner object called IInner, and an interface of its own, called IOuter, but it doesn't export IPrivate. The little interfaces on the top right of the objects represent the IUnknown interfaces of the objects. Since calling IUnknown methods on any interface of the inner object returns either an interface of the outer object, or an interface whose IUnknown methods call the IUnknown methods of the outer object, the outer object is the only object that has access to the IUnknown interface of the inner object."
[Unified Modeling Language. Wikimedia.Commons]

ConceptDraw DIAGRAM is a perfect tool for:








TEN RELATED HOW TO's:
Sentence a grammatical unit of several words, and provides a narrative, question, comment, etc. It begins with a capital letter and ends with proper punctuation. Sentence diagramming allows you to visually present the sentence part function, which helps you build right sentences. Language Learning solution offers the Sentence Diagrams Library with set of vector stencils for drawing various Sentence Diagrams, for visualizing grammatical structures that will assist you in language learning and construction of grammatically correct sentences. ConceptDraw DIAGRAM diagramming software extended with Language Learning solution from the Science and Education area provides the powerful sentence diagraming tools.Sentence Diagrammer *
Picture: Sentence Diagrammer
Related Solution:
Use Case Diagram Taxi Service UML. This sample was created in ConceptDraw DIAGRAM diagramming and vector drawing software using the UML Use Case Diagram library of the Rapid UML Solution from the Software Development area of ConceptDraw Solution Park. This sample shows the work of the taxi service and is used by taxi stations, by airports, in the tourism field and delivery service.About UML *
Picture: About UML
Related Solution:
The Ishikawa diagram, Cause and Effect diagram, Fishbone diagram — all they are the names of one and the same visual method for working with causal connections. Originally invented by Kaoru Ishikawa to control the process quality, the Ishikawa diagram is well proven in other fields of management and personal scheduling, events planning, time management. It is a chart in the form of a fish, whose head is a problem, the fins are variants for its causes. To design easily the Fishbone diagram, you can use a special ConceptDraw DIAGRAM vector graphic and diagramming software which contains the powerful tools for Fishbone diagram problem solving offered by Fishbone Diagrams solution for the Management area of ConceptDraw Solution Park.Fishbone Diagram Problem Solving *
Picture: Fishbone Diagram Problem Solving
Related Solution:
Relationships Analysis. Relations Diagram - factors analysis, factors relations. Create Relations Diagram with ConceptDraw DIAGRAM. The Seven Management and Planning Tools is a tool for Interaction diagram drawing. This diagram identifies causal relationships. Determine what factors are causes and which factors are effects. Interaction diagram helps establish KPIs to monitor changes and the effectiveness of corrective actions in resolving the problem.Relationships Analysis *
Picture: Relationships Analysis
Both Crow’s Foot and Chen’s notations are used to build database models. Each of them has its’ own features, and if you use a proper entity relationship diagram software, you’ll be able to create diagrams of any notation. Database model with clearly defined entities and relationships between them facilitates further work greatly. This ERD represents the model of Employee Certification Entity. The entity-relationship diagram is a visual instrument of database software development. It is used to structure data and to define the relationships between structured data groups. This ERD was designed with a help of ConceptDraw Entity-Relationship Diagram (ERD) solution. The solution supports the both basic ERD notations used to describe the structure of database: Chen's and Crow’s Foot notations.Entity Relationship Software *
Picture: Entity Relationship Software
Related Solution:
This sample was created in ConceptDraw DIAGRAM diagramming and vector drawing software using the Flowcharts solution from the Diagrams area of ConceptDraw Solution Park. This sample shows the Flowchart of the Subprime Mortgage Crisis. This Flowchart describes the decline in housing prices when the housing bubble burst and what it caused on the housing and financial markets. You can also see the Government and Industry responses in this crisis situation.Flowchart on Bank. <br>Flowchart Examples *
Picture: Flowchart on Bank. Flowchart Examples
Related Solution:
Any hierarchical structure of any company can be represented as a triangle or a pyramid. You can create a pyramid diagram and pyramid chart of any complexity using special libraries included in ConceptDraw DIAGRAM. Actually, any knowledge or chain of facts can also be depicted as a pyramid. A wide range of graph and chart are utilized in marketing to maintain documentation and various visual issues, that deal with marketing information and data. The marketing value pyramid can be created to illustrate how the value of company, or product is based on its competitiveness. To design this diagram we used ConceptDraw DIAGRAM drawing tools in conjunction with Pyramid solution for Solution Park.Pyramid Diagram and Pyramid Chart *
Picture: Pyramid Diagram and Pyramid Chart
Related Solutions:
Infographic is a visual way of representing various information, data, knowledge in statistics, geography, journalism, education, and much more areas. ConceptDraw DIAGRAM supplied with Pictorial Infographics Solution from the “Infographics” Area, provides a set of powerful pictorial infographics tools. Thanks to them it is the best Infographic Maker.Infographic Maker *
Picture: Infographic Maker
Related Solution:
It’s obvious that a good manager detects threats just in time to prevent a company crisis. If you had ever asked about what SWOT analysis is, then you must have interest in business strategies. After you build a SWOT matrix, you’ll see the pros and cons of your strategy. The method of SWOT analysis is used in strategy management. It helps to estimate the Strengths, Weaknesses, Opportunities, and Threats generated during an activity of particular business. A SWOT matrix can be build for companies, products, or individuals. Using SWOT analysis means to state business goals and to determine factors, both the internal and external that are good and bad to reach the business goals. The capabilities of ConceptDraw MINDMAP and ConceptDraw DIAGRAM software help professional to carry out SWOT analysis with maximum effectiveness.What is SWOT Analysis? *
Picture: What is SWOT Analysis?
Use the set of special professionally developed swim lane flowchart symbols - single, multiple, vertical and horizontal lanes from the Swimlanes and Swimlanes BPMN 1.2 libraries from the Business Process Diagram solution, the Swim Lanes library from the Business Process Mapping solution as the perfect basis for your Swim Lane Flowcharts of processes, algorithms and procedures.Swim Lane Flowchart Symbols *
Picture: Swim Lane Flowchart Symbols
Related Solution:
ConceptDraw
DIAGRAM 18