Free Downloads
COM And .NET Interoperability (Expert's Voice)

COM and .NET Interoperability provides a complete overview of the process of building .NET applications that interact (interoperate) with existing COM code. Before digging into that critical topic, author Andrew Troelsen offers a concise overview of the COM architecture and provides examples using various COM frameworks (C++, ATL, and VB 6.0) as well as the core .NET managed languages (C# and VB .NET). After covering the preliminaries, the book explores numerous issues that arise in interoperability, including interacting with the Win32 API, dynamically generating source code via System.CodeDOM, creating serviced (COM+) components using managed code, manually editing (and recompiling) .NET metadata, and the process of constructing custom COM/.NET conversion utilities. Both intermediate and advanced developers will welcome the practical information they need to quickly work with COM and COM+ in .NET applications, and learn how to create .NET components that are COM compatible.

File Size: 10713 KB

Print Length: 816 pages

Publisher: Apress; 1 edition (April 24, 2002)

Publication Date: April 20, 2002

Language: English

ASIN: B001GIOA4W

Text-to-Speech: Enabled

X-Ray: Not Enabled

Word Wise: Not Enabled

Lending: Not Enabled

Enhanced Typesetting: Not Enabled

Best Sellers Rank: #2,271,543 Paid in Kindle Store (See Top 100 Paid in Kindle Store) #57 in Books > Computers & Technology > Networking & Cloud Computing > Networks, Protocols & APIs > COM & DCOM #59 in Books > Computers & Technology > Programming > APIs & Operating Environments > COM, DCOM & ATL #1700 in Books > Computers & Technology > Programming > Microsoft Programming > .NET

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.

Deeper Voice: Get a Deeper voice Quickly, Become a Leader: Proven way to deepen your voice:(Low pitched voice, Attractive Voice, Voice Singers, Manly Voice, Charisma, Power) 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 (Expert's Voice) Expert Visual C++/CLI: .NET for Visual C++ Programmers (Expert's Voice in .NET) 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) Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 (Expert's Voice in .NET) Pro ASP.NET MVC 5 (Expert's Voice in ASP.Net) COM and .NET Interoperability .NET and COM: The Complete Interoperability Guide Beginning ASP.NET 4.5 in C# (Experts Voice in .Net) Beginning F# (Expert's Voice in .NET) 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 ASP.NET MVC 5: Learn ASP.net 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