Chapter 13. COM and Windows Interoperability
IN THIS CHAPTER
- Introduction to Interoperability in C#
- Using COM Objects from the .NET Framework
- Using .NET Classes from COM
- Accessing Code in Unmanaged DLLs
Interoperability refers to the ability of managed and unmanaged code to invoke each other and exchange data in an organized and reproducible fashion. This chapter introduces you to the basic concepts behind code and data interoperability in C# and provides you with code samples for communicating with unmanaged code via COM or using Platform Invoke for accessing unmanaged DLLs such as the Win32 API.
Introduction to Interoperability in C#
Interoperability enables you to leverage your existing investment in unmanaged code going forward with the ...