Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2251 dde services may hang

obsolete: 8.3
closed-accepted
Pat Thoyts
7
2003-03-22
2003-03-22
Pat Thoyts
No

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.

Discussion

  • Pat Thoyts
    Pat Thoyts
    2003-03-22

    Logged In: YES
    user_id=202636

    Patch applied.

     
  • Pat Thoyts
    Pat Thoyts
    2003-03-22

    • status: open --> closed-accepted