What is COM, COM+? (什麼是COM, COM+?)

What is COM?

什麼是COM?

Microsoft COM (Component Object Model) technology in the Microsoft Windows-family of Operating Systems enables software components to communicate.

Microsoft Windows系列操作系統中的 Microsoft COM(組件對象模型)技術可以使軟件組件之間能夠進行通信。

COM is used by developers to create re-usable software components, link components together to build applications, and take advantage of Windows services.

開發人員使用 COM 來創建可重用的軟件組件,將組件鏈接在一起構建應用程序,也有利於構建Windows服務

COM objects can be created with a variety of programming languages.

可以使用各種編程語言創建COM對象。

Object-oriented languages, such as C++, provide programming mechanisms that simplify the implementation of COM objects.

面向對象的語言(如C ++)提供了簡化COM對象實現的編程機制

The family of COM technologies includes COM+, Distributed COM (DCOM) and ActiveX® Controls.

COM技術系列包括COM +,分佈式COM(DCOM)和ActiveX®Controls。

Microsoft provides COM interfaces for many Windows application programming interfaces such as Direct Show, Media Foundation, Packaging API, Windows Animation Manager, Windows Portable Devices, and Microsoft Active Directory (AD).

Microsoft爲許多Windows應用程序編程接口提供COM接口,如Direct Show,Media Foundation,Packaging API,Windows Animation Manager,Windows Portable Devices 和 Microsoft Active Directory(AD)。

COM is used in applications such as the Microsoft Office Family of products.

COM還用在了Microsoft Office系列產品的應用程序。

For example COM OLE technology allows Word documents to dynamically link to data in Excel spreadsheets and COM Automation allows users to build scripts in their applications to perform repetitive tasks or control one application from another.

例如,COM OLE 技術允許 Word 文檔動態地鏈接到 Excel 電子表格中的數據,
COM Automation允許用戶在其應用程序中構建腳本,以執行重複任務或從另一個應用程序控制一個應用程序。

What is COM+?

什麼是COM+?

COM+ is the name of the COM-based services and technologies first released in Windows 2000.

COM+ 是在Windows 2000中首次發佈的基於COM的服務和技術的名稱。

COM+ brought together the technology of COM components and the application host of Microsoft Transaction Server (MTS).

COM+ 彙集了 COM組件的技術 和 Microsoft Transaction Server(MTS)的應用程序主機。

COM+ automatically handles programming tasks such as resource pooling, disconnected applications, event publication and subscription and distributed transactions.

COM+ 可自動處理編程任務,如資源池,斷開應用程序連接,事件發佈和訂閱以及分佈式事務。

I want to build a COM or COM+ application. How do I get started?

我想構建一個 COM 或 COM+ 應用.我改如何開始?

The best resource for COM developers is the Microsoft Developer Network (MSDN).

COM開發人員最好的資源是 Microsoft 開發人員網(MSDN)。

The MSDN Library contains information for developers on the Microsoft platform including a programming guide for COM development and the COM API programming reference.

MSDN 庫包含 Microsoft 平臺上的開發人員的信息,包括 COM開發的編程指南 和 COM API編程參考。

The Windows API is documented in Win32 and COM Development.

Windows API 記錄在 Win32 和 COM Development 中。

You will also find information on COM+.

您還將找到有關 COM+ 的信息。

Using COM from .NET and .NET from COM

在 .NET中使用 COM,在 COM 中調用 .NET

The .NET Framework provides bi-directional interoperability with COM, which enables COM-based applications to use .NET components and .NET applications to use COM components.

.NET Framework 提供與 COM 的雙向互操作性,使基於COM的應用程序能夠使用.NET組件, .NET應用程序也能使用COM組件。

For information on how to access .NET components from COM see http://msdn.microsoft.com/library/ms973802.aspx.

有關如何從COM訪問.NET組件的信息,請參閱 http://msdn.microsoft.com/library/ms973802.aspx

To learn how to use COM components from .NET see http://msdn.microsoft.com/library/ms973800.aspx.

瞭解如何使用.NET中的COM組件,請參閱 http://msdn.microsoft.com/library/ms973800.aspx


原文地址:https://www.microsoft.com/com/default.mspx

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章