COM technology and its application on the Internet

Source: Internet
Author: User
Tags object model
Overview] This article starts with a basic concept, and clearly demonstrates COM in terms of COM interfaces, type libraries, GUIDs, and so on. At the same time, this article also introduces the creation of COM objects, what is MTS, how to use MTS to manage COM objects, his advantages and programmatic implementation, and combined with concrete examples, this article is another focus of the introduction of COM on the Internet, through security, efficiency and other comparisons, It shows the strong application foreground of COM on the Internet. In the process of elaboration, this paper combines C++,VB and ASP to explain.
[Summarize] In this article,the author introduce the technology of COM. From the Interface,the type library and GUID clearly show the character of COM. This is article also list how to create COM object,how to Using MTS to manage the COM Object,and you to make MTS in PROGRAM.A S Another emphasis,the article demonstrate the application of COM in Internet,through the "Analysis of" security and Efficie Ncy,show the power of COM.
Keywords: com,mts, component technology
Objective
In the development of the Internet today, the network environment, there are many programming standards, COM is one of them, but also the fastest development, the most widely used standards. But at present at home, there is not much real introduction of COM book, and COM itself is difficult to understand, the promotion and use of COM is more difficult, this article tries to combine the concept and application of the point of view, COM to the reader. and introduces the application of COM on the Internet.
One. Introduction to COM technology
COM (Component object model) Microsoft's Component object models. It's essentially a small binary executable program that can serve applications and operating systems as well as other components. Many of Microsoft's other technologies, such as Activex,directx,ole, are built on COM.
COM is published in the form of Win32 dynamic-link libraries (DLLs) or executable code published in the form of an executable file (EXE).
A component program implemented in the form of a DLL that runs the component program and the client in the same process when the customer invokes it, so it is called a component within the process. In the form of EXE, when the customer calls, he has his own independent process space. It is called an out-of-process component.
COM is also not a set of functions like the win API: it does not support or provide a variety of function to perform specific operations on the system. COM itself implements an API called a COM library, which provides a range of services such as customer queries on components, and registration/anti-registration of components, in general, where the COM library is implemented by the operating system and the programmer does not have to care about the details of its implementation.
In general, COM provides a standard way to write components. Components that follow COM standards can be grouped together to form applications. It doesn't matter who wrote the components and how they were implemented. The component and the customer are contacted through an "interface".
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.