Chapter Eight. Advanced COM to .NET Interop

In this chapter, I discuss advanced aspects of COM to .NET Interop, that is, using .NET components from a COM/Win32 client. Some of the issues that I discuss in this chapter include the following: techniques for creating objects without requiring registration, object life cycle implications, class interfaces, rich error information, using Windows Forms controls as ActiveX controls, managed events in unmanaged clients, and deployment. By the time you are done with this chapter, you will be ready to use COM to .NET Interop in most real-world scenarios.

Get .NET and COM Interoperability Handbook, The 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.