高手请进:WinCE下COM组件的线程模型问题!
我想在WinCE下做一个多线程访问共享数据的东东,想用COM组件来封装,利用它APARTMENT方式来达到数据同步。
但在WinCE6.0下没有用起来!
不很清楚WinCE6.0对COM的支持如何,请有经验的高手指点,谢先了!
引用:wince6.0下对COM的支持描述如下!
The following levels of run-time support for COM-based applications are supported:
Minimal COM provides a baseline API set for COM object creation. This Catalog item requires about 10–20K of memory and is only available in headless OS designs.
COM provides a midrange implementation of COM and Automation that supports only in-process free-threaded objects and requires about 100–200K of memory.
The Distributed Component Object Model (DCOM) provides a full-featured COM implementation equivalent to Microsoft Windows NT® 4.0 SP5 and requires more than 700K of memory.
In addition, you can add storage functionality to any one of the three COM implementations by adding the COM Storage Catalog item.
Note:
Distributed COM (DCOM), sometimes also referred to as "COM Remoting", is not included in Windows Embedded CE. Please see Remote DCOM Support for more information.