[英]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.