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

RE: Accessing a C++ function from ns



Hi

Thanks for your help. I returned TCL_OK from command() and there was no 
exception, I believe that it could be a problem with syntax but cannot see 
it at the moment. If anyone can see or thinks they might know what it is, 
could they please let me know. Thanks in advance

Chris

>
>On Tue, 17 Aug 1999, Christopher May wrote:
>
> > Hi,
> >
> > I keep getting the following error message, when I attempt to access a
> > function in C++ from ns. I am using a "command" function which reads an
> > argument then calls a function . I think that I am using the wrong 
>syntax
> >
> > $node(nd) send_sols.
> >
> > The command function parses the argument, however when I run the ns 
>script I
> > get the following error message.
> >
> >     (_o28 cmd line 1)
> >     invoked from within
> > "_o28 cmd send_sols"
> >     invoked from within
> > "catch "$self cmd $args" ret"
> >     (procedure "_o28" line 2)
> >     (SplitObject unknown line 2)
> >     invoked from within
> > "$node(mh) send_sols"
> >     (procedure "create-topology" line 27)
> >     invoked from within


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com