Visual C#. NET 2003 Unleashed

This chapter has been packed full of some interesting information. First, you looked at a few different ways to communicate with COM components. You saw sample code for invoking COM components from within managed code, and the reverse where your COM components (or in this case, VB6 Windows application) invoke managed .NET code. Wrapping up the discussion on interoperability, you looked at co-existing happily with the operating system and the functionality that it provides via unmanaged DLLs and how to access that functionality using platform invoke and the DllImport attribute.

    Категории