What is the difference between Interop and RCW (Runtime Callable Wrapper)?

What is the difference between Interop and RCW (Runtime Callable Wrapper)?

Is that just terminology?

+4
source share
2 answers

They are connected to each other. Interop is a generic term for using the native dll in .NET. RCW is a wrapper that is required to use one specific component / class / object in .NET.

+2
source

Interop is designed to invoke the export of raw DLLs.

RCW (Runtime Callable Wrapper) is used to display COM objects in .NET classes, i.e. to create COM objects called by .NET code. RCW is a .NET proxy that uses interop to interact with a COM object.

You can use Interop directly for COM, but that just makes it a complicated way.

+4
source

All Articles