COM and .NET Interoperability
Del.icio.us
Digg
Furl
Reddit
Simpy
Spurl
Excerpts from book:
Given the insane combinations of language preferences and reader backgrounds, I have chosen to take a solid stance in the middle ground. If I have done my job correctly, you will walk away from this text with the skills you need to tackle any interop-centric challenge you may encounter. Also, I am almost certain you will learn various tantalizing tidbits regarding the COM and .NET type systems.
My ultimate goal in writing this book is to provide you with a solid foundation of COM and .NET interoperability. To achieve this goal, I have chosen to provide material that defines the finer details of the COM and .NET architectures. For example, over the course of the first six chapters, you will learn how to pro grammatically generate and parse COM IDL, dynamically generate C# and VB .NET source code on the fly (via System.CodeDOM), and build .NET applications that can read COM type information. After all, when you need to build a software solution that makes use of two entirely unique programming paradigms, you had better have a solid understanding of each entity.
However, once this basic foundation has been laid, the bulk of this book describes the process of making COM and .NET binaries coexist in harmony. As an added bonus, I cover the process of building .NET code libraries that can leverage the services provided by the COM+ runtime layer (via
System.EnterpriseServices).