Starting with the .NET Compact Framework version 2.0, you can perform direct COM interop, use the MarshalAsAttribute class, and marshal a larger set of types.
Describes how to provide unmanaged code access to managed components.
Describes how to provide managed code access to COM components.
Discusses differences in the .NET Compact Framework for using platform invoke to call a native component such as a DLL file.
Discusses differences in the .NET Compact Framework for marshaling data types between managed and unmanaged code. Also describes how to set a registry key to perform interop logging.
Describes advanced programming techniques for interoperating with native controls.
Describes how to subclass the TreeView control to create an implementation of the NodeMouseClick event.
Describes how to subclass the Button control to display a colorful gradient fill.
Provides a class for implementing managed window procedures, as described in How to: Subclass a TreeView by Using Native Callbacks.
Provides helper functions for subclassing controls, as described in How to: Subclass a TreeView by Using Native Callbacks.
Describes how to use the MessageWindow and Message classes in the Microsoft.WindowsCE.Forms namespace. The example in this topic does not require a native component.
Describes interoperability services in the full .NET Framework.