COM and DCOM Application Development (Windows CE 5.0)

Send Feedback

Windows CE offers the following run-time support for COM-based applications:

  • Minimal COM provides a baseline application programming interface (API) set for COM object creation and requires about 10–20 KB of memory.
  • COM provides a midrange implementation of COM and OLE automation that supports only in-process free-threaded objects and requires about 100-200 KB of memory.
  • DCOM provides a full-featured COM implementation including services on a remote device and requires over 700 KB of memory. By default, the remoting capability is disabled, which provides a more secure environment for the device. This enables the DCOM's local server capabilities and still allows the device to be connected to the Internet. To enable the remoting capability, set the Sysgen variable SYSGEN_DCOM_REMOTEACCESS to 1.
  • COM Storage adds structured storage functionality to Minimal COM, COM, or DCOM implementations.

The topics in this section describe the programming model for COM and DCOM on Windows CE and provide guidelines for the implementation of interfaces, management of memory, and configuration of registry settings. The documentation targets the differences between the implementations of COM on Windows CE and on Microsoft Windows NT®, and is not intended to be a comprehensive guide to COM programming. Familiarity with the COM objects and interfaces, type libraries, and essential distributed programming concepts is assumed. Background and conceptual information are available through the following resources:

  • For information about component development, see this Microsoft Web site.
  • For information about Windows CE, see this Microsoft Web site.
  • Inside COM, by Dale Rogerson, Microsoft Press® Books, 1996, and Inside Distributed COM, by Guy and Henry Eddon, Microsoft Press Books, 1998. For information about these titles and other COM developer guides, see this Microsoft Web site.

Unless it is specified otherwise, the term COM in this documentation refers to functionality that is available in the midrange OS implementation, and DCOM refers to the functionality provided in the full-featured implementation. This use varies somewhat from the desktop documentation, in which a single programming model covers all of the COM services, whether they are in-process, local, or remote.

Note   Windows Mobile does not support DCOM.

Finally, independent software vendors (ISVs) should note that not all Windows CE-based devices include COM run-time support. To verify that a particular Windows CE-based device provides the level of COM support that your application requires, consult the OEM of your target device.

The following topics show the supported APIs for each implementation:

See Also

Component Services (COM and DCOM)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.