Book description
.NET/COM interoperability in depth: comprehensive techniques and strategies
The most in-depth guide to .NET/COM interoperability ever published!
Covers every .NET/COM interop option, "gotcha," and workaround
Offers practical strategies for .NET migration and long-term .NET/COM coexistence
Compares .NET to COM and Java
Addresses many advanced issues, including Interop marshaling, Primary Interop Assemblies, using ActiveX Controls from managed code, using COM+ Services from managed code, converting your COM+ Applications to XML Web Services and .NET Remoting
The .NET and COM Interoperability Handbook will help you move your Windows(-based software into the future without abandoning the investments you've already made. Writing from the perspective of the experienced COM/COM+ developer, Alan Gordon offers the most realistic, in-depth coverage of .NET/COM interoperability ever presented. He illuminates all your .NET/COM interoperability options, offering practical advice for both migration and long-term coexistence. Coverage includes:
What COM/COM+ developers must know first about .NET/COM interoperability
Using the .NET/COM interoperability resources built into Visual Studio .NET
Calling COM/COM+ components from .NET
Calling .NET components from Win32/COM applications
Using COM+ Services from .NET applications
Turning your COM+ applications into an XML Web Service without writing any code
Understanding the impact of COM apartment threading on .NET performance
Overcoming mismatches between COM reference counting and .NET garbage collection
Interop marshaling, ActiveX controls, .NET remoting, and much more
Table of contents
- Copyright
- The Integrated .NET Series From Object Innovations and Prentice Hall PTR
- About Prentice Hall Professional Technical Reference
- Preface
- Acknowledgments
- What's in a Name?
- Comparing COM and .NET
- Exploring the CLR
-
A Quick Introduction to C#
- Getting Started with C#
- Creating a Simple Hello World Application
- Compiling and Linking the Hello World Application
- The Basic Operators in C#
- The Primitive Types Available in C#
- Creating and Manipulating a String in C#
- Creating and Using an Array in C#
- Declaring classes in C#
- Using Inheritance in C#
- Flow of Control Constructs
- Exception Handling in C#
- Summary
- Using Visual Studio .NET
- An Introduction to COM Interop
-
Advanced .NET to COM Interop
- Object Life Cycle Implications
- Using COM Events in Managed Code
- Using COM-Rich Error Information in Managed Code
- Multithreading and COM Apartments
- Primary Interop Assemblies
- Advanced Interop Marshaling Considerations
- Using ActiveX Controls in Managed Code
- Performance Considerations
- Advanced Aspects of PInvoke
- Summary
-
Advanced COM to .NET Interop
- Object Creation
- Object Life-Cycle Implications
- Overloaded Methods
- COM Apartments
- Using Types from the .NET Framework Class Library
- Class Interfaces Revisited
- Rich Error Information
- Using Windows Forms Controls
- ComVisible
- Handling Managed Events from a COM Client
- Deploying COM/Win32 Applications That Use .NET Components
- Summary
- Using COM+(Enterprise Services)
- XML Web Services
- .NET Remoting
- Migration and Interop Strategies
Product information
- Title: .NET and COM Interoperability Handbook, The
- Author(s):
- Release date: December 2002
- Publisher(s): Pearson
- ISBN: 9780130461308
You might also like
book
COM & .NET Component Services
With COM and .NET Component Services, skilled COM developers can leverage their knowledge for the next …
book
Win32 System Services: The Heart of Windows® 98 and Windows® 2000
The Win32 best-seller, fully updated for Windows 2000 and Windows 98! Master every key Win32 system …
book
Professional C# 5.0 and .NET 4.5.1
Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1 Whether you're a C# guru or transitioning …
book
Pro C# 2010 and the .NET 4 Platform, Fifth Edition
The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. …