Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-03-22
22:00 • New ticket [708166ffff] dde servers can hang on exit. artifact: 4a1697a273 user: patthoyts

dde servers can hang on exit

Open708166ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-22 22:00:20
If there is a badly behaved windows application running
on the system and a tcl interpreter that is a DDE
server attempts to exit - the interp may hang until
messages are processed in the remote application.

We can demonstrate this by starting tclsh and setting
the dde servername. This gives us a badly behaved
windows application - that is a toplevel window has
been created but we are not processing the message queue.

Now if we start another tclsh or wish and set the dde
servername and then exit - the interpreter will hang in
DdeExitProc during the call to DdeNameService() until
such time as the first interpreter processes it's
message queue.
Log in (anonymous is fine) to add a comment.