다음을 통해 공유


COM OEM Registry Settings (Windows CE 5.0)

Send Feedback

DCOM uses a pinging protocol to verify that the connection to a client is still active; the client machine continually sends a message while it is active. If the component does not receive a message within three ping periods, the connection is considered broken. Then, DCOM decrements the component reference count and releases the component when the count reaches zero.

Some private networks, such as those in industrial automation, require flexibility in controlling the time-out periods. You can modify the default settings in the following registry entries.

[HKEY_LOCAL_MACHINE\software\microsoft\ole]
    "BasePingInterval"=dword: <seconds [default 120]>
    "BaseNumberOfPings"=dword: <number [default 3]>

Note   The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

BasePingInterval specifies the time interval in seconds between pings, which allows DCOM to verify if the machine is active. BaseNumberOfPings specifies the maximum number of pings before the component is run down.

**Note   **Because these settings change some key interactions between clients and servers and because DCOM on the desktop does not provide equivalent settings, this functionality is not supported in environments where there is a mix of operating systems. Changing these settings is only recommended in environments where all machines communicating through DCOM have the same registry values for these two settings.

See Also

COM and DCOM Registry Settings | COM and DCOM Security | Component Services (COM and DCOM) | Enhancing the Security of a Device

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.