Hi Shafiq, To access a variable declared in your TCL script, you can use the following method :-
Tcl& tcl = Tcl::instance(); tcl.lookup(char* s); The 'lookup()' function of Tcl class takes a pointer to the name of the variable in the TCL script and returns you a TclObject class object, which you can further typecast into your specific object type and use. - Prashant Shafiq Hashmi wrote: > Hello all, > > Is it possible to access an object of Agent/RCAgent, created in Tcl, from > another C++ class. > > Can anybody tell me ? > > Thanx > Shafiq > >
