TES is David Gravereaux's Windows-specific Tcl-interpreter-in-C++-application embedding experiment.
He maintains it at http://sourceforge.net/projects/tomasoft/ .
The acronym stands for Tcl Event System.
Read the docs for it @ http://tomasoft.cvs.sourceforge.net/*checkout*/tomasoft/tes/OSCON2K%2B1_TclTrack.html?content-type=text%2Fhtml
download: [L1 ]
In a nutshell, TES is a way to separate the Tcl event loop from interactions with the Windows message pump of the application Tcl is embedded into. It does this by running Tcl in a separate thread and provides the way to post Tcl jobs. This is a perfect solution for running Tk, which requires an active event loop. It avoids the need to merge event loops or use flushing by doing a sledgehammer approach instead.
Or another way to look at, TES allows for modular execution of Tcl, the component, which might be comparable to Microsoft's COM.