O'Reilly logo

Microsoft® .NET Compact Framework (Core Reference) by Mark Sutton, Rory MacLoed, Robert Burbidge, Stephen Wheelwright, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required