RE: [tcljava-user] mail group
Brought to you by:
mdejong
|
From: Tam H. <th...@su...> - 2001-05-24 16:32:40
|
I tried loading the extension in the java program with 'interp.eval("load =
ext.dll")'. Does the tclsh have to call the java program in order for this =
to work? I'm executing the program without running the tclsh. And my =
exception is "invalid command load"
On 5/23/01, tcljava-user wrote:
>Tam Huynh wrote:
>> =
>> Well see this is my problem for tclblend..the function gcd is in the =
>> C tcl extension.
>
>If gcd is a C-based Tcl extension, then load it *exactly* the same
>way that you did in tclsh. Tclblend is simply a tclsh with the =
>"java" extension. You still have all normal Tcl commands available
>to you, called exactly the same way. Tclblend's "java" extension
>simply adds the commands that begin java::*. You should only =
>use the java::* commands to talk to Java classes, not to anything
>in C or C++.
>
> -=3D- D. J.
>
>_______________________________________________
>tcljava-user mailing list
>tcl...@li...
>http://lists.sourceforge.net/lists/listinfo/tcljava-user
>
>
>RFC822 header
>-----------------------------------
> Received: from usw-sf-list1.sourceforge.net (usw-sf-fw2.sourceforge.net =
>[216.136.171.252]) by big.sunrisetelecom.com with SMTP (Microsoft =
>Exchange Internet Mail Service Version 5.5.2653.13)
> id LP9FGY7F; Wed, 23 May 2001 22:13:24 -0700
> Received: from localhost ([127.0.0.1] helo=3Dusw-sf-list1.sourceforge.=
net)
> by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 =
>(Debian))
> id 152nUb-0006D0-00; Wed, 23 May 2001 22:17:01 -0700
> Received: from [63.165.195.154] (helo=3Dwcox.com)
> by usw-sf-list1.sourceforge.net with esmtp (Exim 3.22 #1 =
>(Debian))
> id 152nU0-00069h-00
> for <tcl...@li...>; Wed, 23 May 2001 =
>22:16:24 -0700
> Received: from cayenne.sdr.local [63.165.196.10] by wcox.com with =
>ESMTP
> (SMTPD32-6.06) id A922A81011A; Wed, 23 May 2001 23:16:18 -
>0600
> Received: from millibits.com (poblano [192.168.10.72])
> by cayenne.sdr.local (8.9.3/8.9.3) with ESMTP id FAA02484
> for <tcl...@li...>; Thu, 24 May 2001 =
>05:09:14 GMT
> Message-ID: <3B0...@mi...>
> From: "D. J. Hagberg" <dha...@mi...>
> Organization: Millibits Consulting Services
> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.11 i586)
> X-Accept-Language: en
> MIME-Version: 1.0
> To: tcl...@li...
> Subject: Re: [tcljava-user] mail group
> References: <E15...@us...>
> Content-Type: text/plain; charset=3Dus-ascii
> Content-Transfer-Encoding: 7bit
> Sender: tcl...@li...
> Errors-To: tcl...@li...
> X-BeenThere: tcl...@li...
> X-Mailman-Version: 2.0.5
> Precedence: bulk
> Reply-To: tcl...@li...
> X-Reply-To: dha...@mi...
> List-Help: <mailto:tcljava-user-
>re...@li...?subject=3Dhelp>
> List-Post: <mailto:tcl...@li...>
> List-Subscribe: <http://lists.sourceforge.net/lists/listinfo/tcljava-=
user>,
> <mailto:tcljava-user-
>re...@li...?subject=3Dsubscribe>
> List-Id: A list for users of tcljava <tcljava-user.lists.sourceforge.net>=
> List-Unsubscribe: <http://lists.sourceforge.net/lists/listinfo/tcljava-
>user>,
> <mailto:tcljava-user-
>re...@li...?subject=3Dunsubscribe>
> List-Archive: <http://lists.sourceforge.net/archives//tcljava-user/>
> Date: Thu, 24 May 2001 05:09:46 +0000
> =
>
|