[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

instantiating Application defined in C++ from tcl



I have now finally come to the point where I want to integrate the
application I have been writing(in C++) into ns. But I am having trouble
instantiating the main class of the application from tcl. The application
has been written in C++ only, I have created the xxxxClass helping class
and I have created an entry for it in ns/tcl/lib/ns-source.tcl
But I am still not able to create an instance of the application, the
error I get when I try to create an instance is  "  invalid command name
"..."   ". So it seems that I have not created all the links between the
C++ and tcl code that is necessary, can anybody be of any help?

Tor Hval