Chapter 22. Programming .NET and COM
Programmers love a clean slate. Although it
would be nice if we could throw away all the code
we've ever written and start over, this typically
isn't a viable option for most companies. Over the
past decade, many development organizations have made a substantial
investment in developing and purchasing COM components and ActiveX
controls. If .NET is to be a viable platform, these legacy components
must be usable from within .NET applications, and to a lesser degree,
.NET components must be callable from COM.
This chapter describes the support .NET provides for importing
ActiveX controls and COM components into
your application, for exposing .NET classes to COM-based
applications, and for making direct calls to Win32 APIs. You will
also learn about C# pointers and keywords for accessing memory
directly, a technique that may be crucial in some applications.
|