Re: [tcljava-dev] Why tclblend is not stubs-aware?
by Georgios Petasis other posts by this author
Mar 12 2007 11:42PM messages near this date
Re: [tcljava-dev] Why tclblend is not stubs-aware?
|
Re: [tcljava-dev] Why tclblend is not stubs-aware?
O/H Mo DeJong ??????:
> Georgios Petasis wrote:
>
> > Hi all,
> >
> > I am a user of tclblend, and I tried to compile the new tclblend 1.4.0
> > for windows with JDK 5.0 using msys.
> > What I noticed, is that tclblend does not use stubs, and thus is linked
> > directly to a specific version of the tcl dll.
> >
> >
> Tcl Blend does not use stubs because there is no way to bootstrap when
> loading Tcl into
> a Java process. The stubs feature works well when Tcl loads a C
> extension, but Tcl Blend also
> supports loading both Tcl and Tcl Blend dlls into an existing JVM
> process (started via java.exe).
> A specific tclblend.dll is tied to a specific Tcl release and a specific
> JVM release.
>
I see. I am using tclblend for only loading Java from Tcl, and this is
why I never noticed any problems
with the stubs-enabled version. I never cross my mind that tclblend can
be used to load Tcl from
Java. How is this accomplished in Java? You somehow load the tclblend
dll and a Tcl interp
gets also created?
Regards,
George
Thread:
Georgios Petasis
Mo DeJong
Georgios Petasis
Mo DeJong
|