O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter we studied mixing managed and unmanaged code running under Windows. We saw how to call legacy COM components from within the managed .NET environment using a Runtime Callable Wrapper, or RCW. We also looked at the use of a COM Callable Wrapper (CCW) to enable a COM client to call a .NET component. Finally, we looked at using Platform Invocation Services (PInvoke), and saw how automatic marshaling is provided for both in and out parameters.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required