.NET 与 COM 互操作原理
来源:互联网 发布:linux断点续传命令 编辑:程序博客网 时间:2024/05/16 16:22
The .NET framework is a natural progression from COM because the two models share many central themes, including component reuse and language neutrality. For backward compatibility, COM interop provides access to existing COM components without requiring that the original component be modified. You can incorporate COM components into a .NET Framework application by using COM interop tools to import the relevant COM types. Once imported, the COM types are ready to use.
COM interop also introduces forward compatibility by enabling your COM clients to access managed code as easily as they access other COM objects. Again, COM interop provides the means to seamlessly export metadata in an assembly to a type library and registers the managed component as a traditional COM component. Both the import and export utilities produce results consistent with COM specifications. At run time, the common language runtime marshals data between COM objects and managed objects as needed.
In This Section
- COM Wrappers
- Describes the wrappers provided by COM interop.
- Primary Interop Assemblies
- Describes how to create and use primary interop assemblies.
- Side-By-Side Execution for COM Interop
- Describes how to safely share components through COM interop services.
- Registration-Free COM Interop
- Describes how COM interop can activate components without using the Windows registry.
- HRESULTs and Exceptions
- Describes the mapping between exceptions and HRESULTs.
- Inheritance, Aggregation, and Containment
- Describes various strategies for extending COM types.
- Managed and Unmanaged Threading
- Describes the threading differences that impact interoperation.
- Managed and Unmanaged Events
- Describes how to raise and handle events using COM interop.
- Type Library to Assembly Conversion Summary
- Describes the type library to assembly import conversion process.
- Assembly to Type Library Conversion Summary
- Describes the assembly to type library export conversion process.
- Custom Marshaling
- Describes the process for writing a custom marshaler for interoperation.
Related Topics
- Exposing COM Components to the .NET Framework
- Describes the process for calling COM types through COM interop.
- Exposing .NET Framework Components to COM
- Describes the preparation and use of managed types from COM.
- Design Considerations for Interoperation
- Provides tips for writing integrated COM types.
- Interop Marshaling
- Describes marshaling behavior for COM interop and platform invoke.
- .NET 与 COM 互操作原理
- com与net互操作
- COM与.NET的互操作
- .Net 与Com组件的互操作
- .NET与VBA COM互操作
- COM与.NET的互操作(初级)
- COM和.NET的互操作
- COM和.NET的互操作
- COM和.NET的互操作
- .NET互操作技术(COM,API)杂谈
- 第四章 COM组件与.Net组件互操作---3、DotNet使用COM组件
- COM与.net的交互操作之在把.net注册成"COM"
- Com与.Net互操作(二次业务开发及插件开发总结)
- 《COM 原理与应用》
- COM 原理与应用
- .NET框架与COM
- .NET框架与COM
- .NET框架与COM
- jQuery-强大的jQuery选择器 (详解)
- Linux上posix线程库实现原理讨论
- 用 PHP 开发健壮的代码
- Reverse Proxy Web Sockets with Nginx and Socket.IO
- 仿baidu,google的查询分页技术
- .NET 与 COM 互操作原理
- 要做个工作事件备忘录了
- Java 生产者消费者问题
- 我们的爱,我理解
- 任务计划
- RTF Builder
- 用 PHP 开发健壮的代码: 有效地使用变量
- jquery innerHTML 的清空注意事项
- 21个故事