Provides you with ebooks download links of various topics such as NET 2003, .Net Architecture, .Net Framework, .Net Framework 3.5, .Net Interoperability, .Net Optimization, .Net Patterns, .Net Performance, .Net Security, ASP.NET, C#.NET, Spring.Net, VB.Net and more.

COM and .NET Interoperability

By Andrew Troelsen


Apress Publishing has provided TheServerSide.NET with COM and .NET Interoperability for free download.

"COM and .NET Interoperability" covers working with COM components in .NET and .NET components in COM from basic topics like Runtime Callable Wrappers to advanced topics such as manual marshaling of data types between .NET and COM. This book is available in its entirety as a download to registered TSS.NET readers.

The book starts off with an introduction/review of COM concepts such as IUnknown, IClassFactory, and IDispatch interfaces as well as Active Template Library and IDL.

COM servers also support a special sort of COM type termed a class factory (also termed a class object). COM class factories also support the mandatory IUnknown, as well as another standard interface named IClassFactory. This interface allows the COM client to create a given coclass in a language- and locationneutral manner. As you may be aware, it is possible for a COM class factory to support the IClassFactory2 interface (which derives from ClassFactory).

The book moves on to cover the basics of .NET to COM interoperability before building on that with more advanced topics such as handling Variants and manually destroying a COM object.

The COM VARIANT data type is one of the most useful (and most hated) constructs of classic COM. The VARIANT structure is useful in that it is able to assume the identity of any [oleautomation]-compliant IDL type, which may be reassigned after the initial declaration. VARIANTs are hated for much the same reason, given that these dynamic transformations take time. Nevertheless, you are bound to run into a coclass that makes use of this type, and you would do well to understand how it maps into terms of .NET.

Privacy Policy
We use third-party advertising companies to serve ads when you visit our website. They uses cookies to serve ads on our site. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here
Disclaimer
Copyright of books and articles goes to its respective owners. In this blog, i am writing reviews about articles & books and giving free links available in world wide web. Intention of this blog is educative purpose and using contents from other sites as it is fair use. So if you have any complaints regarding books copyright, please contact book hosting servers for the removal of the book. we got all download links from the search engines and so we are not responsible for any damage due to the links given here. This is only for education purpose.