Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-03-23
06:17 • Closed ticket [707822ffff]: dde services may hang plus 7 other changes artifact: f35ee29c6d user: patthoyts
2003-03-22
01:44 • New ticket [707822ffff]. artifact: ea15f4cbf4 user: patthoyts

dde services may hang

Closed / Accepted707822ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-22 01:44:53
The dde services command can hang a Tcl interpreter.
This can occur if the any of top level windows fails to
process it's message queue. A number of such examples
exist and the net effect is to make Tcl look buggy.

It is possible to work around this problem by
re-implementing the dde services command in terms of
raw DDE messaging using SendMessageTimeout. This Win32
API function is present in all versions of the Win32
API and will ensure that we cannot be halted by another
application. (Well - not for this command anyway).

See patch #690354 for the implementation of this fix.
patthoytsplain2003-03-23 06:17:02
Logged In: YES 
user_id=202636

Patch applied.
Log in (anonymous is fine) to add a comment.