//
archives

Runtime Callable Wrapper

This tag is associated with 2 posts

Tip for Managed Applications that use COM objects – Exposing Metadata For Your COM Objects Part 1

1. Introduction. 1.1 If you have ever used COM objects in your managed applications, you would have certainly come across an intriguing  type named “System.__ComObject”. 1.2 This type indicates a generic Runtime-Callable Wrapper (RCW) that has no metadata available. It is also an internal class in the mscorlib assembly. It is not possible to define … Continue reading

The Significance of the COM coclass.

1. Introduction. 1.1 Intermediate COM application developers generally understand the COM development process and are familiar with most of the ubiquitous terms, phrases and concepts, e.g. IUnknown, IDispatch, interfaces, reference counting, interface querying, registration, progID, events, etc. 1.2 The keyword “coclass”, however, remains mysterious and relatively misunderstood. The reason for this is probably due to its perceived lack … Continue reading