对非托管代码的调用
与 COM 的交互
l 缺乏内置的支持
l 代码包装使用平台调用
l 需要高级 COM 编程经验

| One of the most common ways of interoperating with legacy code is by leveraging COM components using a feature of the .NET Framework named COM Interop. Unfortunately, COM Interop is not supported in the Compact Framework. If you absolutely need to call into COM components from managed code, you can create your own wrappers using the Framework’s Platform Invoke features. However, doing this requires a great deal of lower-level COM knowledge. You can also use Embedded C to wrap COM objects and expose them as API functions, but again, this is beyond the scope of this course.