Chapter 9. Calling Unmanaged Code

Team-Fly    

Developing XML Web Services and Server Components with Visual C#™ .NET and the .NET Framework, Exam Cram™ 2 (Exam 70-320)
By Amit Kalani, Priti Kalani

Table of Contents


Terms you'll need to understand:

  • Managed code

  • Platform invoke

  • Runtime callable wrapper (RCW)

  • Unmanaged code

Techniques you'll need to master:

  • Instantiating and invoking existing COM/COM+ components by creating a runtime callable wrapper (RCW)

  • Using platform invoke (PInvoke) to invoke some common Windows API calls

In this chapter, you learn about the tools and techniques necessary to call unmanaged code COM components and Windows API code from the .NET Framework. Basically, the process of using unmanaged code from various server components is similar. I'll use Web services for most of the examples in this chapter; however, you can follow the same process for other .NET applications.


    Team-Fly    
    Top


    MCAD Developing XML Web Services and Server Components with Visual C#. NET and the. NET Framework Exam Cram 2 (Exam Cram 70-320)
    Managing Globally with Information Technology
    ISBN: 789728974
    EAN: 2147483647
    Year: 2002
    Pages: 179

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