Accessing Existing COM Components from Managed Code

COM is an open standard for developing business components. These business components are deployed in the middle tier of enterprise applications and are reusable. To understand how C# code (or any managed code, for that matter) interacts with COM components, you must first understand the difference between early binding and late binding.


A client interacts with a component by using the properties and methods of the component. In order to access the properties and methods of a component, the client needs to be bound to the component. The process of associating a client with a component is referred to as binding. There are two types of binding:

  • Early bindingEarly binding, as the name ...

Get Special Edition Using C# 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.