Free Downloads
COM And .NET Interoperability

Author Andrew Troelsen tells about the building blocks of the COM and .NET architectures and how they interact (i.e. interoperate), with emphasis on a basic understanding of each component part and the role it plays.

Series: Expert's Voice

Paperback: 769 pages

Publisher: Apress; Softcover reprint of the original 1st ed. edition (April 20, 2002)

Language: English

ISBN-10: 1590590112

ISBN-13: 978-1590590119

Product Dimensions: 1.7 x 7.2 x 9.2 inches

Shipping Weight: 2.9 pounds

Average Customer Review: 4.6 out of 5 stars  See all reviews (8 customer reviews)

Best Sellers Rank: #1,976,653 in Books (See Top 100 in Books) #17 in Books > Computers & Technology > Networking & Cloud Computing > Networks, Protocols & APIs > COM & DCOM #22 in Books > Computers & Technology > Programming > APIs & Operating Environments > COM, DCOM & ATL #616 in Books > Computers & Technology > Hardware & DIY > Personal Computers > PCs

This is an amazingly well-organized text. I can hardly imagine how Troelsen figured out the right angle of approach, but he did!The first few chapter are an excellent introduction to COM. I feel like my unstanding went from pattern-following to solid (but not especially deep). Troelsen offers an example of a COM object coded completely by hand in C++ that is enlightening.The deeper one gets into Windows or .NET, the more one realizes just how entrenched COM is. Interop is still, a decade after .NET's debut, a very important issue. This may well be the best all-in-one text on that topic. However, Nathan's .NET and COM is more in-depth and has a very deep DirectX example that is much more real-world than most of Troelsen's examples. Still, Nathan is dense by comparison, and at the prices these books are going for, why not get both?At this point I can only give an at-a-glance perspective relating this text to Templeman and Mueller, which is that they both rest around the same 'depth' but Templeman may be a little more this-then-that with very pragmatic short coding examples, while Troelsen has that wonderful teaching organization, and Nathan is somewhat denser than either Troelsen or Templeman.

Like Andrew's "C# and the .NET Platform", this book combines an excellent technical overview with nitty gritty examples that detail how to use these technologies in your own development. We followed the book's step-by-step instructions to create a CCW that allows us to use the NET framework's XML digital signature support in our existing unmanaged code. Try cobbling up an XMLDSIG implementation on your own! I can't imagine anyone attempting to use Interop technology without a reference like this.

There may be times when you need to access legacy COM DLL's written in non-managed C++ or Visual Basic. This may be as a stop-gap measure until your older legacy code can be updated to .NET. In cases where performance is critical, you may have no desire to ever upgrade your C++ DLL, but would like to use C# for GUI design, rather than Microsoft Foundation Classes. If any of these situations apply, this is the book for you.This book begins with a few chapters that will bring the reader up to date on both sides of the GAP. First you are shown the fundamentals of COM objects. Second you are shown the newer .NET architecture. Only by understanding both sides will you be able to make the two effectively communicate. For experienced users, who are already familiar with COM and .NET this section can easily be skipped. The book then continues with an overview of what datatypes are available on each side, and how they cross over.The real meat of the book comes in the next two sections. Three chapters (the basics, intermediate and advanced topics) are given first for COM to .NET. Then the exact same pattern is repeated from .NET to COM. I spent most of my time with the .NET to COM part of the book, as I was using a C++ DLL with C#. The book answered all of my questions and I was able to successfully implement the application.The book provides a great deal of good information, but it is sometimes hard to find exactly what you are looking for. Each direction is covered in chapters named the basics, intermediate and advanced topics. What exactly is meant by this is not clear until you begin the chapter. I often found myself skimming all three sections trying to find an example close to what I was doing.

Loved it. Great service and speed on getting the book in on time. This was exactly what I was looking for.

ASP.NET: Programming success in a day: Beginners guide to fast, easy and efficient learning of ASP.NET programming (ASP.NET, ASP.NET Programming, ASP.NET ... ADA, Web Programming, Programming) Pro ASP.NET Web API Security: Securing ASP.NET Web API (Expert's Voice in .NET) COM and .NET Interoperability COM and .NET Interoperability (Expert's Voice) .NET and COM: The Complete Interoperability Guide Tor and The Dark Net: Remain Anonymous Online and Evade NSA Spying (Tor, Dark Net, Anonymous Online, NSA Spying) VBScript: Programming Success in a Day: Beginner's Guide to Fast, Easy and Efficient Learning of VBScript Programming (VBScript, ADA, ASP.NET, C#, ADA ... ASP.NET Programming, Programming, C++, C) ASP.NET: Programming Success in a Day: Beginners Guide to Fast, Easy and Efficient Learning of ASP.NET Programming Beginning Web Development, Silverlight, and ASP.NET AJAX: From Novice to Professional (Expert's Voice in .NET) Pro Visual C++/CLI and the .NET 2.0 Platform (Expert's Voice in .NET) Pro C# 5.0 and the .NET 4.5 Framework (Expert's Voice in .NET) ASP.NET MVC 5: Learn MTV 5 Programming FAST and EASY! (From Zero to Professional Book 1) Learn ASP.NET MVC: Be ready for coding away next week using ASP.NET MVC 5 and Visual Studio 2015 Programming ASP.NET AJAX: Build rich, Web 2.0-style UI with ASP.NET AJAX Advanced ASP.NET AJAX Server Controls For .NET Framework 3.5 Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 (Expert's Voice in .NET) Expert Visual C++/CLI: .NET for Visual C++ Programmers (Expert's Voice in .NET) Pro ASP.NET MVC 5 (Expert's Voice in ASP.Net) Beginning ASP.NET 4.5 in C# (Experts Voice in .Net) Diving into ASP.NET WebAPI: Learn REST services in .Net : A Practical Approach