简体   繁体   English

Interop和RCW(运行时可调用包装器)有什么区别?

[英]What is the difference between an Interop and a RCW (Runtime Callable Wrapper)?

What is the difference between an Interop and a RCW (Runtime Callable Wrapper)? Interop和RCW(运行时可调用包装器)有什么区别?

Is it just terminology? 这只是术语吗?

Interop is for calling raw DLL exports. Interop用于调用原始DLL导出。

RCW (Runtime Callable Wrapper) is used to expose COM objects to .NET classes - ie., to make COM objects callable by .NET code. RCW(Runtime Callable Wrapper)用于将COM对象公开给.NET类 - 即,使.NET对象可以调用COM对象。 The RCW is a .NET proxy that uses interop to interface to the COM object. RCW是一个.NET代理,它使用interop来连接COM对象。

You could use Interop directly to COM, but that's just doing it the hard way. 你可以直接使用Interop到COM,但这只是艰难的做法。

They are connected with each other. 它们相互连接。 Interop is the overall term for using native dll's within .NET. Interop是在.NET中使用本机dll的总称。 A RCW is a wrapper which is needed to use one specific component/class/object in .NET. RCW是在.NET中使用一个特定组件/类/对象所需的包装器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 运行时可调用包装器(RCW)范围 - 进程或应用程序域? - Runtime callable wrapper (RCW) scope - process or application domain? RCW(运行时可调用包装程序)是在.net中调用非托管com对象的唯一方法吗? - Is RCW(Runtime Callable Wrapper) the only way of calling an unmanaged com object in .net? AxInterop 和 Interop 有什么区别? - What is the difference between AxInterop and Interop? pInvoke 和 COM Interop 有什么区别? - What is the difference between pInvoke and COM Interop? COM Interop-COM可调用包装程序中的多线程 - COM Interop - Multi-Threading in a COM Callable Wrapper .Net中的版本和“运行时版本”有什么区别? - What is the difference between Version and 'Runtime Version' in .Net? Interop Outlook 和 Outlook Object 库之间的区别 - Difference between Interop Outlook and Outlook Object Library MS Office Interop-无法发布对RCW的引用 - MS Office Interop - can't release references to RCW Specflow插件的三种类型(运行时,生成器,运行时/生成器)有什么区别? - What is the difference between the three types of Specflow Plugins (Runtime, Generator, Runtime/Generator)? .NET互操作层和COM之间会发生什么? - What happens between the .NET interop layer and COM?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM