Apress

.NET 2.0 Interoperability Recipes

A Problem-Solution Approach

By Bruce Bukovics

.NET 2.0 Interoperability Recipes Cover Image

The only recipe-style book on the subject, .NET 2.0 Interoperability Recipes guides Windows developers who are transitioning from native Windows code to .NET managed code.

Full Description

  • ISBN13: 978-1-59059-669-2
  • 632 Pages
  • User Level: Beginner to Advanced
  • Publication Date: March 30, 2006
  • Available eBook Formats: PDF
  • Print Book Price: $84.99
  • eBook Price: $59.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

.NET represents a new and improved way of developing software for the Windows platform. Given the chance, you’d probably rewrite all of your existing code in the newer managed code environment that .NET provides. But it is difficult or impossible to throw out all existing legacy code and start over when a new technology arrives. Instead, you need to find a way to move forward with new .NET development while reusing existing pieces of tested, working code. You need a way to interoperate with the existing code until you have a chance to finally rewrite all of it in .NET.

The only recipe-style book on the subject, .NET 2.0 Interoperability Recipes: A Problem-Solution Approach guides Windows developers who are transitioning from native Windows code to .NET managed code.

.NET tools will allow you to interoperate with existing code. But finding the appropriate tool for the task at hand can sometimes be a frustrating experience. So this book will guide you past myriad infrequently used interop options to focus on those youll use most often.

What you’ll learn

  • New interop features in .NET 2.0 and VS .NET 2005
  • PInvoke, COM, and COM+ (other books don't cover all three areas)
  • Features example code in C# and VB .NET, and also includes some managed C++/CLI

Table of Contents

Table of Contents

  1. Using C-Style APIs
  2. C-Style APIs: Structures, Classes, and Arrays
  3. Win32 API
  4. Using C++ Interop
  5. Using COM
  6. Exposing Managed Code to COM
  7. Marshaling to COM Clients
  8. COM+ Enterprise Services
  9. COM+ Enterprise Services Transactions
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published