December 2002
Intermediate to advanced
720 pages
17h 39m
English
COM Interop is used in two scenarios: (1) When you want a managed code (.NET) application or component to consume a COM component or (2) when you want an unmanaged (Win32/COM) application or component to consume a .NET component. Both of these scenarios are shown in Figure 6-1.

Scenario 1 will probably be the most widely used initially because most people who start using the .NET Framework will have a large existing code base of unmanaged code that they will want to reuse. However, don't underestimate the importance of scenario 2. Let's say that you have two COM objects, object A and object ...
Read now
Unlock full access