Chapter 7: Helping Out with Interop

In This Chapter

check.png Communicating with COM

check.png Deploying without primary Interop assemblies

check.png Doing without ref

The Component Object Model, usually called COM, is a standard for the interface of software bits at the binary level. Because it is binary, it is language-neutral, which was Microsoft’s goal when the company introduced COM in 1993. COM is a language-neutral way to implement objects in a lot of different environments.

COM is an umbrella term for a lot of different technologies in the Microsoft world. OLE, OLE2, ActiveX, COM+, and DCOM are all versions of the same idea — just implemented in different ways.

The problem with COM is networking. Although a thorough explanation is outside the scope of this book, it is important to understand that Microsoft’s answer to broadly distributed applications in the 1990s was less than good. DCOM, or Distributed COM, was fraught with problems.

When XML web services entered the scene in the late 1990s with SOAP, Microsoft just put a wrapper around COM that translated to and from SOAP. In the background, however, Microsoft was planning a much more sophisticated messaging system for Windows. That system eventually ...

Get C# 5.0 All-in-One For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.