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

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