1. Introduction 1.1 This article is a continuation of a previous article in which I expounded on how metadata can be exposed to managed code for COM objects. 1.2 In that article, the COM object was created via ProgID through the use of the Type.GetTypeFromProgID() function followed by a call to Activator.CreateInstance(). 1.3 With a … Continue reading
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
1. Introduction. 1.1 An interop assembly is a special .NET assembly which contains type information on imported COM types. 1.2 Unlike a typical assembly, it contains mostly metadata. This metadata enables managed code compilers to resolve COM object property access and method calls in code. 1.3 At runtime, the metadata of an interop assembly enables the CLR … Continue reading