Skip to content
Tcl Source Code View Ticket
Login

View Ticket

dde services {} {} blocks

Closed / Duplicate943151ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-27 17:09:26
dde services {} {} blocks for some reason (not exactly
know the cause). Is it possible to add a timeout value
for the command?

Thanks!

-Xiaotao
patthoytsplain2004-04-30 20:56:26
Logged In: YES 
user_id=202636

This is a fundamental problem with the DDEML implementation.
If your system includes a badly behaved application which is
not processing its message queue (and there are many of
these) then anything that sends messages to all toplevel
windows (ie: dde services) will hang.

This is fixed in tcl8.5 however. For 8.5 the dde services
implemetation has been changed to use raw dde messages and
use SendMessageTimeout to avoid hanging in the presence of
such applications.

See bug 707822 for more about this.
Log in (anonymous is fine) to add a comment.