Cpptcl is a tool to allow simple integration of C++ objects with Tcl (and hence Tk). It includes automatic support for Tcl argument parsing, command completion, container classes, run-time type information, archival of object creations, ... Cpptcl is a pair of loadable Tcl extensions which work fine under Unix and MacOS (and presumably other platforms too). In order of priority, this is what Cpptcl does: The primary purpose of Cpptcl is to allow you to write C++ code and classes which smoothly, simply and powerfully link with the Tcl language, and expose as much or little of their interface to Tcl as desired (member functions and data members). Object creation, destruction and manipulation are all supported from Tcl. Also the C++-Tcl interface uses a lot of the powerful features of the C++ language to make your code much more straightforward than if you were to use the standard Tcl C API. Building and manipulation of strings, lists, evaluations,... is all possible using stream based operators, so you can do things like: tcl_obj t; t << "store this string" << my_var << " which contains a C variable value"; tcl_obj tt(interp); tt << "puts {" << t << "}" << eval; A secondary goal is to allow you to take existing C++ classes and automatically wrap them inside other 'Tcl-aware' C++ classes so that it appears to the Tcl user as if your original class is integrated with Tcl. A tertiary goal is to allow you to take either of the above forms of C++ in Tcl object functionality and wrap such an item inside an [incr Tcl] class. This occurs at the Tcl rather than C++ level, although needn't look any different to the user. This package is primarily useful to Tcl/C++ code developers. Take a look at the 'Plplot' package for an example of a package which makes use of this code. Yours, Vince Darley http://www.biosgroup.com/ http://www.fas.harvard.edu/~darley darley@fas.harvard.edu