Hi Jana,

I dont' know if you have resolved you problem, but here is something 
that I came accross.
To access a variable declared in ur TCL scrip, u can use the follwing 
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

Henni Girl wrote:
> Hello Prashant Batra,
>
> actually I thought about a solution with global variables, 
> but I want to use my new class the same way the AODV protocol is used
> just with some extensions and without affecting AODV. 
> That's why I think it's best to go on looking for a solution accessing 
> objects created in my tcl script.
> Thank you anyway.
>
> jana
>
>
>   

Reply via email to