Summary


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.



    Visual C#. NET 2003 Unleashed
    Visual C#. NET 2003 Unleashed
    ISBN: 672326760
    EAN: N/A
    Year: 2003
    Pages: 316

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net