Overview
| Artifact ID: | 8f782486a4e9e8b9b591343d71f899458e6456e4 |
|---|---|
| Ticket: | 219293ffffffffffffffffffffffffffffffffff
Need unique DDE servernames |
| User & Date: | patthoyts on 2002-03-20 16:25:27 |
Changes
- icomment:
Logged In: YES user_id=202636 After thinking and testing with dde services I think that raising an error if the service/topic pair is already registered probably _IS_ the right way to go. This will make it simple for 'singleton' windows applications and it's trivial to make your topic name unique in the application. This also makes it simple for the application to modify itself to advertise the new name (eg by changing the titlebar text). For instance: set name [tk appname] set n 0 while {[catch {dde servername $name}]} { incr $n set name "[tk appname] #$n" } wm title $name would be one suggestion. - login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"