Introduction
Microsoft has two major Interop technologies: COM Interop and Platform Invocation Services (PInvoke). COM Interop has tools and technologies that allow .NET components and applications to use COM/DCOM/COM+ components and that allow Win32 applications and COM/DCOM/COM+ components to use .NET components. PInvoke allows .NET applications and components to call Win32, that is, non-COM DLLs. PInvoke is particularly useful for calling Win32 API functions, although you can also use it to call non-COM DLLs that you created yourself. All of these technologies are designed to be as seamless as possible. In other words, using a COM component from managed code feels just the same as using a managed component, and using a .NET component from ...
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