COM & .NET Interoperability (Expert's Voice) Book + PRICE WATCH * Amazon pricing is not included in price watch

COM & .NET Interoperability (Expert's Voice) Book

Aimed at the more experienced developer who needs to get the old and the new in Windows to coexist, COM and.NET Interoperability gives you all the nitty-gritty detail to get .NET Framework code and the older COM standard to work together effectively. Crammed with technical knowledge and a wide range of programming techniques you won't likely find anywhere else, this book will fill a worthwhile niche as corporations move older Windows code to .NET. The in-depth technical detail of the inner workings of both COM and .NET sets it apart. It says a lot about this title that it's only after 300 pages of introductory material on the inner workings of .COM and .NET that the text turns to interoperability between the two. First comes a traditional tour of COM components, including all the gnarly details of Iunknown, GUIDs, type libraries, late binding (and Idispatch) and deployment through the registry. A short section looks at using the Active Template Library (ATL) and its wizards to simplify "traditional" COM components. The author also examines how to build and deploy equivalent components in .NET, along with some more advanced material on reflection, generating on-the-fly code and assembly information. Material on emulating late-binding in .NET is also a standout here, as this technique is not obvious under the new Windows. At the heart of this book are six chapters showing how to get .NET to call COM code and vice versa, organised into beginning, intermediate and advanced techniques for each. Core material here shows how to invoke COM objects within .NET, as well as ActiveX controls, a worthy addition as this is likely to be a workable strategy for .NET developers years to come. Advanced techniques range farther afield. When it comes to calling.NET code from older COM code, apart from the basics of invoking.NET from within "traditional" C++ and VB, the author also shows how to "consume" new .NET classes like collections within COM. Final sections turn toward another COM+ services, with a full tour of transactions and just-in-time activation (JITA) for building more scalable Windows components. (Here besides "classic" COM+ components in C++, the author shows how to do it in .NET.) The book rounds out with examples of "fully serviced" Windows components in .NET, including a solid example using a Web service. While COM is destined to wither away, for the next few years, there will be ample opportunity for advanced programmers to leverage an in-depth knowledge of COM and.NET. This book's authoritative treatment of most every conceivable permutation of COM and.NET code working together makes it the definitive resource on the subject. Armed with this title, any advanced C++/C# developer will be able to mix in old code and new code effectively. --Richard Dragan Topics covered: Introduction to Platform Invocation (PInvoke) services, calling a traditional DLL from C and C++, using PInvoke to call a traditional DLL with .NET, callback functions in.NET for DLLs, tutorial for COM servers (conventions and built-in interfaces, GUIDs, class factories, deployment), C++ COM clients, IDispatch and scriptable objects, Active Template Library (ATL) basics (including wizard support), COM servers in VB6, COM IDL files in detail (type libraries and programming reading type info.), using C# to view COM type libraries, .NET servers (including assemblies and deployment options), advanced techniques for on-the-fly code generation with the System.CodeDOM APIs, .NET types explained, using .NET reflection APIs (viewing type info. in C#), late binding in .NET, basic .NET to COM interoperability (converting COM IDL to .NET types), deploying Interop assemblies, intermediate techniques (including using COM Variants, Param arrays, structures and collections between platforms, events and delegates, error handling), advanced techniques (COM classes implementing .NET interfaces), consuming ActiveX controls in.NET code, modifying Interop assemblies, basic COM to .NET code sharing techniques (including the COM Callable Wrapper, CCW, the tlbexp.exe utility, COM-aware .NET types), consuming .NET components in VB 6, C++, and VBScript, intermediate COM to .NET techniques (using NET enumerated types, structures, delegates and collections within COM), advanced techniques for using .NET in COM (changing type marshalling, custom COM interfaces, defining COM interfaces using managed code, manually defining COM atoms in C#, custom hosts for the .NET runtime), overview of COM+ (including the transactions, pooling and the COM+ Catalog), classic COM+ components vs. .NET equivalents, lazy automatic registration, object construction strings, just-in-time activation (JITA), transactional programming in.NET, and sample serviced components (including a Web service example).Read More

from£N/A | RRP: £47.49
* Excludes Voucher Code Discount Also available Used from £N/A
  • 1590590112
  • 9781590590119
  • Andrew Troelsen
  • 1 May 2002
  • APRESS
  • Paperback (Book)
  • 769
As an Amazon Associate we earn from qualifying purchases. If you click through any of the links below and make a purchase we may earn a small commission (at no extra cost to you). Click here to learn more.

Would you like your name to appear with the review?

We will post your book review within a day or so as long as it meets our guidelines and terms and conditions. All reviews submitted become the licensed property of www.find-book.co.uk as written in our terms and conditions. None of your personal details will be passed on to any other third party.

All form fields are required.