Importing and Using COM Objects
The .NET Framework 4.6, like previous versions, offers support for interoperability with the COM architecture via an engine named Runtime Callable Wrapper, which is the infrastructure that provides a communication bridge between .NET and COM. It is also responsible for type marshaling and handling events. Because of this engine, you can import COM objects and use them in your managed applications. You can import two kinds of COM components: type libraries and ActiveX components. Importing COM components is accomplished via two command-line tools: TlbImp.exe, which is required to import a type library, and AxImp.exe, which is required for importing ActiveX controls. This chapter does not discuss how to invoke such ...
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