Purpose: document what one needs to do in a C++ application Go invoke Tcl script commands (i.e. ones without a directly invokable API). [[Can someone provide a pointer to some sample c++ code that interacts with Tcl?]] [[It's really, really easy, easier than this page is yet making apparent. It'll take work, though, to show how easy it is.]] ---- Example: [TclODBC] is an extension written in C++. You can evaluate Tcl scripts, call Tcl functions and write new Tcl commands in C++ just like in C. The Tcl headers are safe for direct use in C++. The only gotcha for extension writers is that the init functions must be declared 'extern "C"' so that the compiler leaves their names alone for the [load] command. Also with command-line compilers (like [GCC]) be sure to use the C++ compiler frontend (like ''g++'') for linking so that you pick up the C++ runtime support automatically. Obviously everybody that interfaces with Tcl from C++ encapsulates some of the Tcl objects in corresponding C++ classes. [BR] doesn't know of any effort yet to provide standard all-purpose C++ wrapper classes for this. ---- See also [C++]. ---- [Category Language]