You are previewing .NET and COM: The Complete Interoperability Guide.
O'Reilly logo
.NET and COM: The Complete Interoperability Guide

Book Description

<> The focus of the book is on COM Interoperability (since it's a much larger subject), and the heart of the discussion is broken down into four parts:

  • Using COM Components Within the .NET Framework

  • Using .NET Framework Components from COM

  • Designing Good .NET Framework Components for COM Clients

  • Designing Good COM Components for .NET Framework Clients

  • The scope of the book is just about everything related to using "unmanaged code" in the .NET Framework. Technologies built on top of COM Interoperability are also covered-Interoperability of Windows Forms Controls and ActiveX controls, Interoperability with COM+, and Interoperability with Distributed COM (DCOM). Although Platform Invocation Services is a separate technology from COM Interoperability, there are many areas of overlap, so including in the book is a natural fit. All of these technologies are a core part of the Common Language Runtime and .NET Framework, and will likely be used not only as the path of migration for existing software projects, but for brand new software development for the next several years. 

    This product consists of of two volume set.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Dedication
    4. Contents at a Glance
    5. Contents
    6. Foreword
    7. About the Author
    8. Acknowledgments
    9. Tell Us What You Think!
    10. Introduction
    11. Part I. Background
      1. Chapter 1. Introduction to the .NET Framework
      2. Chapter 2. Bridging the Two Worlds—Managed and Unmanaged Code
    12. Part II. Using COM Components in .NET Applications
      1. Chapter 3. The Essentials for Using COM in Managed Code
      2. Chapter 4. An In-Depth Look at Imported Assemblies
      3. Chapter 5. Responding to COM Events
      4. Chapter 6. Advanced Topics for Using COM Components
      5. Chapter 7. Modifying Interop Assemblies
    13. Part III. Using .NET Components in COM Applications
      1. Chapter 8. The Essentials for Using .NET Components from COM
      2. Chapter 9. An In-Depth Look at Exported Type Libraries
      3. Chapter 10. Advanced Topics for Using .NET Components
    14. Part IV. Designing Great .NET Components for COM Clients
      1. Chapter 11. .NET Design Guidelines for Components Used by COM Clients
      2. Chapter 12. Customizing COM’s View of .NET Components
      3. Chapter 13. Exposing .NET Events to COM Clients
      4. Chapter 14. Implementing COM Interfaces for Binary Compatibility
    15. Part V. Designing Great COM Components for .NET Clients
      1. Chapter 15. Creating and Deploying Useful Primary Interop Assemblies
      2. Chapter 16. COM Design Guidelines for Components Used by .NET Clients
      3. Chapter 17. Implementing .NET Interfaces for Type Compatibility
    16. Part VI. Platform Invocation Services (PInvoke)
      1. Chapter 18. The Essentials of PInvoke
      2. Chapter 19. Deeper Into PInvoke and Useful Examples
    17. Part VII. Advanced Topics
      1. Chapter 20. Custom Marshaling
      2. Chapter 21. Manually Defining COM Types in Source Code
      3. Chapter 22. Using APIs Instead of SDK Tools
    18. Part VIII. Comprehensive Examples
      1. Chapter 23. Writing a .NET Arcade Game Using DirectX
      2. Chapter 24. Writing .NET Visualizations For Windows Media Player
    19. Part IX. Appendices
      1. Appendix A. System.Runtime.InteropServices Reference
      2. Appendix B. SDK Tools Reference
      3. Appendix C. HRESULT to .NET Exception Transformations
      4. Appendix D. .NET Exception to HRESULT Transformations
      5. Appendix E. PInvoke Definitions for Win32 Functions
      6. Appendix F. Glossary
    20. Inside Front Cover
    21. Inside Back Cover
    22. Index