[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread W. John Guineau
Zhumei, You definetly need the patches to 1.2.6 to even get started. I can build Tcl and Tcl Blend from inside Visual C++ 6.0 using what VC++ calls a "makefile wrapper" project. Basically you can mess with a (somewhat) standard makefile and VDC++ will just run NMAKE for you. Works fine. john

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread W. John Guineau
I haven't gone much past tracking where JAVA_LOCK is in the code, and a cursory glance on what it's doing. With the Java <-> Tcl Queue, I don't see any reason to artificially tie up the JNI layer with more locking - only where appropriate within the JNI/C code itself. However! The one place you

[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread Zhumei Wang
Wow, what a mail list! I asked one question and got so many answers at the same day. I love it. Thanks guys. Actually the answers from both of you are all I needed. I made that piece of code work in tcl shell . What I am trying to do now is to embed a tcl interpreter in java. It seems to me that

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread Mo DeJong
On Mon, 29 May 2000, W. John Guineau wrote: > Mo, > > Since it's in my best interest, I can probably help with: > > 4. Merge the rest of Mr. Wu's patches for Tcl Blend. > > Is there a simple way for me to access the online CVS repository from > Windows? I do have a dual-boot system with Linux

[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread Mo DeJong
On Mon, 29 May 2000, W. John Guineau wrote: > Am I confused here? > > I am currently loading Tcl Blend into Java in the sense that from a live > Java VM, I call 'import tcl.lang.*; Interp tclInterp = new Interp()' etc. > and I am able to interact with the C based Tcl interpreter, have dynamicall

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread W. John Guineau
Am I confused here? I am currently loading Tcl Blend into Java in the sense that from a live Java VM, I call 'import tcl.lang.*; Interp tclInterp = new Interp()' etc. and I am able to interact with the C based Tcl interpreter, have dynamically loadable extensions (written in Java) that run in the

[Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread Mo DeJong
On Mon, 29 May 2000, Zhumei Wang wrote: > Hi, > I am new to TclBlend. When I tried to run the small example from > http://dev.scriptics.com/man/java1.1/TclJavaLib/Interp.htm#M25 > I got the following message: > > SIGSEGV 11 segmentation violation > si_signo [11]: SEGV > si_errno [0]: >

[Tcl Java] problem with creating Interp object

2000-05-29 Thread Zhumei Wang
Hi, I am new to TclBlend. When I tried to run the small example from http://dev.scriptics.com/man/java1.1/TclJavaLib/Interp.htm#M25 I got the following message: SIGSEGV 11 segmentation violation si_signo [11]: SEGV si_errno [0]: si_code [1]: SEGV_MAPERR [addr: 0x4] stackpo