Summary

In this chapter, you learned the basics of using .NET COM Interop, both to use a COM object from managed code and also to use a .NET object from unmanaged code. I have just begun to scratch the surface of COM Interop, however. In real-world use, COM Interop is much more complicated than what you have seen so far. The next chapter will look at more advanced aspects of using a COM object from managed code.

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.