I. In-process components and out-of-process Components
As mentioned above, COM components support both in-process components and out-of-process components. The advantage of in-process components is fast and convenient. However, if any component crashes, the main process will crash. Components outside the process are slow but stable. If a component crashes somewhere, at most there is no result and the main process will not crash (for example, if the
For beginners, COM is not a very clear definition. It represents both a component specification and an implementation. In short, COM is a component model at the language layer, because different development environments often need to cooperate with each other to complete a certain function, thus promoting the emergence of COM.
Part of this section requires the reader to be familiar with the message invocation principle of COM, and the principle of this is as shown in Mr. Yang's column.
Previous content:
COM Server--> COM client
...
COM server-->. NET Client
1, P/invoke
2, COM Interop (conten
What is COM?The so-called COM (Componet Object Model, Component Object Model) is a specification that describes how to establish dynamically changing components. This SPECIFICATION provides a way to ensure interoperability, some binary and network standards that customers and components should follow. This standard allows communication between any two components without considering whether the operating env
Delphi object-oriented Learning Article 7: COMAuthor: banhamtHttp://www.cnpack.org(Please indicate the source and keep it complete)In the previous article, we introduced interfaces. If you have never touched the COM object, you will find the interface really troublesome. You may have the idea of "It is better to define a class directly for convenience.Indeed, interfaces without com encapsulation are really
1, the object-oriented system of the three most basic characteristics
Encapsulation, polymorphism, reusability.
2, COM characteristics of the overview
The encapsulation characteristics of COM objects are very thorough, all object state information must be accessible through an interface, while COM polymorphism is fully represented by the interface, and
All outstanding programmers will do their best to make their programs more reusable, because it allows you to quickly write more robust and scalable programs.
There are two options for code reuse:
1. white box: the simplest one is to copy your program to another file.2. Black Box: it includes connecting compiled program slices. Therefore, the compiled black box class library that can be called by the client is called a component.
. Net also provides developers with methods similar to
All outstanding programmers will do their best to make their programs more reusable, because it allows you to quickly write more robust and scalable programs.
There are two options for code reuse:
1. white box: the simplest one is to copy your program to another file.2. Black Box: it includes connecting compiled program slices. Therefore, the compiled black box class library that can be called by the client is called a component.
. Net also provides developers with methods similar to
All good programmers will do their best to make the program they write more reusable, because it allows you to quickly write more robust and upgradeable programs.There are two choices to make code reuse:1. White box: The simplest one is to copy your tablet to another file.2. Black box: It consists of connecting the compiled pieces of the program. So the compiled black box class library that the client can invoke is called a component.. NET also provides developers with a way to build and expand
COM Technology related websites:Http://www.cppblog.com/mzty/archive/2005/12/23/2002.html The theoretical knowledge that must be mastered for COM programming with VCHttp://www.vckbase.com/vckbase/columnist/yangfeng/index.asp Mr. Yang's personal columnhttp://www.vckbase.com/document/viewdoc/?id=212 COM Programming Primer 1http://www.vckbase.com/document/viewdoc/?id
All excellent Program Members will do their best to make their programs more reusable, because it allows you to quickly write more robust and upgradeable programs. There are two ways to makeCodeReuse options: 1. white box: the simplest one is to copy your program to another file.2. Black Box: it includes connecting compiled program slices. Therefore, the compiled black box class library that can be called by the client is called a component. . Net also provides developers with methods simila
Sqlite3 com
Sqlite3 com vs. SQLite com
Sqlite3 improvements:Http://www.newobjects.com/pages/ndl/SQLite3%5Ccomparison23.htm
The table lists the most significant features of sqlite3 COM and SQLite COM. it covers both t
Com -- Component Object Model (Component Object Model) is a set of software development methods and specifications proposed by Microsoft. It also represents a software development idea, that is, the idea of component-oriented programming.COM programming ideology-component-oriented programming ideology (COP)
As we all know, the transition from process-oriented programming to object-oriented programming is realized from C to C ++. The emergence of
1, the understanding of COM objects
COM objects are similar to the concepts of classes in C + + language, each instance of a class represents a COM object, it also includes attributes (i.e., state) and methods (i.e., operations), and States reflect the existence of objects, the method being interfaces.
2, COM object
Yesterday saw the first chapter of "com Essence", "com is a better C + +", feel it is necessary to do some notes, so organized into this article, I believe you deserve to have.The main content of this article is: A class faststring that implements the fast lookup function, which slowly evolves into a COM component after a small requirement. Class Faststring imple
1, the implementation of COM and operating system platform is closely related
Because COM originated in the Microsoft Windows platform, the COM implementation part (that is, the COM library) uses some of the features of the Windows system directly, such as the system registry, the dynamic Connection library, and so on
Answer this question]Article, You can apply the following response:
This question is not over yet. You can answer the question score. I want to reply to this question.
Issuer
Subject(Response data: 3/reply count: 99)
sundy6719 member Male 28 Taiwan 104 posting articles 0-point answer score 20.8-point total score
published on-2004/05/23: 01:52:34
is MTS and COM
Because Com Components and . Net Components depend on different internal structures, so they are inherentlyIncompatible. But fortunately Microsoft Company in . Net SDK Some tools are provided. . Net Component generation Com Proxy, or Com Component generation . Net Agents, with these agents and other technologies, each company can . Net Used in th
First fewArticleSummary of the Application of COM. COM + cannot be mentioned for applications involving COM.
COM + is no longer limited to the COM component technology. It focuses more on the design and implementation of distributed network applications.
Through the previous study and practice, we have learned how com is and how to call COM components.
To sum up, COM is the component object model, which means that the COM Object and COM class are different from the objects and classes in C ++, VB, or Delphi,
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.