Summary
The ability to communicate with legacy COM applications is absolutely essential for some C# development projects. Through COM Interop, a C# program can call methods of any COM component. The process of making this happen involves both early and late binding techniques.
A .NET component may also be exposed as a COM component. The C# component doesn't need anything special within the code. However, there are utilities that register the C# component and generate a type library.
C# provides full support for COM+ services. By inheriting from the System.EnterpriseServices.ComPlusServices class, a C# program inherits all functionality necessary to operate as a COM+ service. Specific COM+ services are implemented by adding appropriate attributes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access