The World of COM

There has always been a long-standing vision of multiple languages sharing common components. In the Windows world, this vision was realized by COM, the Component Object Model. COM's sole purpose was to allow any language that understood the COM binary standard to make use of that component. With the advent of .NET, these issues disappear because all .NET languages can freely interoperate with one another with ease. The combination of the CLS and CLR make such interoperability seamless; gone are the days of Type Libraries and IDL.

Before venturing further, this chapter assumes a certain familiarity with COM. Such topics as Interfaces(such as IUnknown, IDispatch, and IEnumVARIANT), coclass, Connection Points, and COM threading ...

Get C# and the .NET Framework: The C++ Perspective now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.