Re: [tcljava-user] tclblend with Tclkit
Brought to you by:
mdejong
From: Eckhard L. <ec...@we...> - 2006-04-27 17:22:30
|
> > Is it possible somehow to get Tclblend working with Tclkits? How much work > > would that be, if possible at all? > > I have not heard of anyone getting that working and I would be willing to bet > that it is going to be very tricky. Both Tcl and the JVM need to be able to find > tclblend.dll on the file system. Just getting Tcl to see the shared lib on the > Tcl virtual filesystem would not be enough. You would likely need to work some > magic to write tclblend.dll to a tmp dir somewhere and then load it at runtime > so that the JVM can find the native symbols. tclblend.dll would not be that problematic, I could for sure find a way to bring it in the user's file system. Actually, I did not wrap it during my test - it was in my file system and the PATH extended to include it's base directory. The problem is obviously the static build of Tcl in Tclkit. It seems that Jvm can not work with the running Tcl_Interp because it does not come from a shared library (tcl.dll). But I don't know that exactly... A workaround would be to create an installer starpack that installs a minimalistic Tcl version, including tcl84.dll, tclsh.exe, tclblend.dll and the packages that are necessary to run starkits - and call it "tcl-java-bridge base installation". Hmm, that will do it for now... Eckhard BTW, thanks for the great work, Mo. It will ease the J2EE pain ;-) _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 |