Home
Browse all 647 examples
Download all 647 examples
Download sample chapters
Reviews
Errata
Acknowledgments
Links on .NET
Paradoxal Press
Buy directly from Paradoxal Press at $33.99 (Save 43%)
Category: Programming
Level: Beginner to seasoned
900 pages
ISBN-10 097661322-0
ISBN-13 978-097661322-0
$59.99 USA
$79.99 CANADA
|
Chapter 8: Interoperability between .NET and native code/COM/ COM+
Chapter 7< > Chapter 9
Listings: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Table of content:
P/Invoke
The DllImport attribute
Type conversion Passing arguments by pointer Passing strings Passing structures and unions Direction attributes Delegates and unmanaged function pointers
Introduction to interoperability with the C++/CLI language The It Just Works (IJW) facility Coexistence of managed and unmanaged types Using managed objects from native code
.NET and win32 Handles Introduction The HandleCollector class The SafeHandle and CriticalHandle classes
Using COM objects from .NET code Type metadata and type library Interop assemblies and Runtime Callable Wrapper classes (RCW) Accessing COM classes of a COM component without using a type library Importing an ActiveX with Visual Studio COM specificities to bear in mind while using a RCW class Explicit late binding on COM classes Registration free COM
Wrapping a .NET object into a COM Callable Wrapper (CCW) Introduction to CCW Building a COM type library describing CCW classes from a .NET assembly Registering CCWs on the OS Using a .NET assembly as a COM component .NET exception and CCW Dealing with the objects' life cycles
Introduction to COM+ What is COM+? COM+ via .NET: Enterprise Services
Overview of the COM+ enterprise services The complete list of COM+ enterprise services Do you need COM+ enterprise services?
Harnessing COM+ services in .NET classes Introduction to serviced component Declaring the enterprise services used by a serviced component COM+ contexts and serviced components Introduction to COM+ application The COM+ catalog Activation mode of a COM+ application Installing serviced component Viewing and working with the COM+ catalog Building a client of a serviced component
Copyright Patrick Smacchia 2006 2007
|