encyclopegia.org

Runtime Callable Wrapper

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 and data 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.

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 and data 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. ==External links== MSDN Runtime Callable Wrapper Reference

References

No reference rows published for this article.

Cite this article

MLA

"Runtime Callable Wrapper." encyclopegia.org, 2024, https://encyclopegia.org/wiki/runtime-callable-wrapper. Accessed 24 November 2026.

Chicago

"Runtime Callable Wrapper." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/runtime-callable-wrapper.

APA

encyclopegia.org. (2024). Runtime Callable Wrapper. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/runtime-callable-wrapper

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Syntactic closure

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1265035287 · 0.5 · snapshot enwiki-001265035287

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.