[tcljava-dev] Load command question
Brought to you by:
mdejong
|
From: Gary B. <co...@ma...> - 2001-02-02 21:50:13
|
Hi,
I have a tcl script that performs the following statement:
load tclx83.dll Tclx
When I run my tcl script, using tcl84 shell, the tcl script works fine.
I want to use jacl to run my tcl script from my java application.
This following little test java program sources my tcl script but it appears to fail when the load command is executed. If
I comment the load statement, the script continues,
import tcl.lang.*;
main()
{
try
{
Interp i = new Interp();
i.evalFile("makeTheList.tcl");
}
catch (tcl.lang.TclException e)
{
System.out.println (e.getLocalizedMessage());
}
}
The tclx83.dll file is in my current directory. I get a "null" when I run my test program
Any ideas or suggestions.
TIA
Gary
|