Re: [tcljava-user] invalid command name "load" when eval tcl in java
Brought to you by:
mdejong
|
From: Mo D. <mo...@mo...> - 2007-05-17 05:47:39
|
wang dada wrote:
> Hi,
> Now I am writing a java plugin in eclipse to try to get data from
> a Tcl API.
> My code is as following:
> *Interp interp;
> interp = new Interp();
> try{
> interp.eval("package require XXXX");
> interp.eval("::XXXX::YYYY");
> *
> * // TclObject[] result = TclList.getElements(interp,
> interp.getResult());
>
> }
> catch(TclException ex){*
> * ..................................
> }
> finally{
> interp.dispose();
> }*
> The error is "invalid command name "load"",
> there is "load [file join $dir zz.dll zz" in the tcl script of XXXX,
> the path of dll file is right. Why the dll cannot be loaded?
Jacl does not support the load command since it only works C dlls. You
could use Tcl Blend though.
Mo
|