[tcljava-user] Loading native tcl Library
Brought to you by:
mdejong
From: Jerry S. <je...@vs...> - 2009-09-09 19:09:32
|
I found this email thread, and wonder if this is still true with Jacl 1.4.1. I could run the tcl script from Jacl shell, however I can't do that from my Java program. It will cause exception when this command is encounter: load abc.dll struct Does this mean I have to switch to Tcl Blend ? Thanks. 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. You can't load native Tcl libs into a Jacl application. If you want to do that, you will need to use Tcl Blend not Jacl. Tcl Blend 1.3 supports loading both Tcl and Tcl Blend into an existing JVM. Mo DeJong Red Hat Inc Jerry Sugiarto QA Engineer VSS Monitoring, Inc. 38 Adrian Court Burlingame, CA 94010 + 1.650.697.8770 t + 1.650.697.8779 f http://www.vssmonitoring.com l Silicon Valley, USA l Tokyo, Japan l Beijing, China V SS Monitoring's Distributed Traffic Capture SystemsT fundamentally improve price-performance and network analyzer efficiency, as well as increase network visibility and reduce response times. Only VSS Monitoring offers a single vendor total traffic capture solution, encompassing small deployments requiring basic network taps, through large, complex deployments with multiple monitoring solutions that become highly leveraged through its unique distributed systems. |