Summary

In the long run, unmanaged code will die out and become a distant memory for Windows developers. In the short term, using unmanaged code remains a way of life. It's critical that you know how to build and deploy managed code that can interoperate with unmanaged code. Fortunately, the CLR provides an easy-to-use interoperability layer that works in both directions. It makes it possible to integrate the old code you've written in Visual Basic 6 with projects you are now creating with Visual Basic .NET.

An interop assembly contains COM type definitions that have been translated into managed types. It provides a gateway into a COM DLL because it contains a set of managed types that allow you to indirectly program against the types defined ...

Get Building Applications and Components with Visual Basic .NET 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.