大网数据广告活动
Windows 系统接口

Component Object Model (COM)

· 52CE 我爱测

The Component Object Model is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. COM is the foundation technology for Microsoft's OLE (compound documents) and ActiveX technologies.

Purpose

COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. COM is the foundation technology for Microsoft's OLE (compound documents) and ActiveX (Internet-enabled components) technologies.

Where applicable

COM objects can be created with a variety of programming languages. Object-oriented languages, such as C++, provide programming mechanisms that simplify the implementation of COM objects. These objects can be within a single process, in other processes, even on remote computers.

Run-time requirements

For information on which operating systems are required to use a particular interface or function, see the Requirements section of the documentation for the interface or function.

In this section

Topic Description
COM Fundamentals Describes the fundamental concepts and programming reference.
OLE and Data Transfer Describes compound documents and data transfer.
Controls and Property Pages Describes ActiveX controls and property pages.
COM Language Translations Describes the differences between programming languages and describe how to translate COM object syntax from one language to another.

Related documentation

Topic Description
COM Fundamentals Describes the fundamental concepts and programming reference.
OLE and Data Transfer Describes compound documents and data transfer.
Controls and Property Pages Describes ActiveX controls and property pages.
COM Language Translations Describes the differences between programming languages and describe how to translate COM object syntax from one language to another.

Related topics

Topic Description
Component Object Model (COM) COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. COM is the foundation technology for Microsoft's OLE (compound documents) and ActiveX (Internet-enabled components) technologies.
Automation Automation enables software packages to expose their unique features to scripting tools and other applications. Automation uses the Component Object Model (COM), but may be implemented independently from other OLE features, such as in-place activation.
Microsoft Interface Definition Language (MIDL) The Microsoft Interface Definition Language (MIDL) defines interfaces between client and server programs. Microsoft includes the MIDL compiler with the Platform Software Development Kit (SDK) to enable developers to create the interface definition language (IDL) files and application configuration files (ACF) required for remote procedure call (RPC) interfaces and COM/DCOM interfaces. MIDL also supports the generation of type libraries for OLE Automation.
Structured Storage Structured Storage provides file and data persistence in COM by handling a single file as a structured collection of objects known as storages and streams.
COM+ COM+ is an evolution of Microsoft Component Object Model (COM) and Microsoft Transaction Server (MTS). COM+ builds on and extends applications written using COM, MTS, and other COM-based technologies.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。