What is Runtime callable wrapper?

Answers were Sorted based on User's Feedback



What is Runtime callable wrapper?..

Answer / sivasubramanian.k

A Runtime Callable Wrapper (RCW) is a proxy object
generated by the .NET Common Language Runtime (CLR) in
order to allow a Component Object Model (COM) object to be
accessed from managed code. Although the RCW appears to be
an ordinary object to .NET clients, its primary function is
to marshal calls between a .NET client and a COM object.

For example, a managed application written in C# might make
use of an existing COM library written in C++ or Visual
Basic 6, via RCWs.

The runtime creates exactly one RCW for each COM object,
regardless of the number of references that exist on that
object. The runtime maintains a single RCW per process for
each object. If you create an RCW in one application domain
or apartment, and then pass a reference to another
application domain or apartment, a proxy to the first
object will be used.

Is This Answer Correct ?    3 Yes 0 No

What is Runtime callable wrapper?..

Answer / nitin

Runtime Callable wrapper is created by CLR. It enables com
dot net components to access com components.

It Creates Bridge between dot net component and com
component.

It filters Data Type between both component.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is the adavantage of using ASP.NET routing?

0 Answers   NA,


What base class do all Web Forms inherit from?

9 Answers  


Where sessions are stored?

0 Answers  


What is a url string?

0 Answers  


What namespaces are imported by default in ASMX files?

2 Answers  


In the context of a comparison, what is object identity versus object equivalence?

1 Answers  


Can we use a static function with a non-static variable?

0 Answers  


What is true about application service provider?

0 Answers  


What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

1 Answers   Syntax Softtech,


What are the various types of cookies in asp.net?

0 Answers  


What is the purpose of App_Code folder in ASP.NET? Why we this?

0 Answers   Sans Pareil IT Services,


Explain the difference between dataset and datareader.

0 Answers  


Categories