Using Wrapper Functions for COM Objects
Because COM objects cannot be exposed directly to managed code, you must write wrapper functions that can be called from .NET Compact Framework languages and that create COM objects, invoke methods, and release the objects.
To illustrate how COM objects can be accessed through such a wrapper, the examples in the sections that follow will show how the MSXML COM component can be used to provide Extensible Stylesheet Language Transformations (XSLT). The .NET Compact Framework supports XML document processing but does not have any direct support for stylesheet transformations. However, the Microsoft XML COM components do have support for transformations. By creating a COM wrapper, you can get around some of the ...
Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.