Return-Path: bluepeak.westend.com!popeye
Return-Path: <popeye@bluepeak.westend.com>
Received: from popeye.bluepeak.westend.com by bluepeak  with smtp
	(Smail3.2 #1) id m11QwBh-00027cC; Tue, 14 Sep 1999 19:16:13 +0200 (MEST)
Received: from genesis for a.kupries
 with Cubic Circle's cucipop (v1.10 1996/09/06) Tue Sep 14 19:10:31 1999
X-From_: Jan.Nijtmans@wxs.nl  Tue Sep 14 18:49:15 1999
Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130])
	by genesis.westend.com (8.8.6/8.8.6) with ESMTP id SAA28339
	for <a.kupries@westend.com>; Tue, 14 Sep 1999 18:49:04 +0200 (MET DST)
Received: from wxs.nl (n20109.telekabel.chello.nl [212.142.20.109])
	by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id SAA27777
	from <Jan.Nijtmans@wxs.nl> for <a.kupries@westend.com>; Tue, 14 Sep 1999 18:48:48 +0200 (MET DST)
Message-ID: <37DE7C7A.3236CCFB@wxs.nl>
Date: Tue, 14 Sep 1999 18:48:58 +0200
From: Jan Nijtmans <Jan.Nijtmans@wxs.nl>
Organization: C.M.G. Arnhem B.V.
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Andreas Kupries <a.kupries@westend.com>
Subject: Re: cipher script
References: <m11Q8Av-00027kC@bluepeak>
Content-Type: multipart/mixed;
 boundary="------------E0C551AFC7F82EA29789880B"

This is a multi-part message in MIME format.
--------------E0C551AFC7F82EA29789880B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andreas Kupries wrote to changl@neatware.com:
> I currently have no binaries of Trf 1.8 for Tcl 8.2, just Trf 1.7 for
> 8.1.1. But as it was compiled stub-enabled it should work for 8.2 too.
> 
> As for TrfCrypt I have a binary distribution of 1.2 for Tcl 8.1.1, it
> is stub-enabled, so it should work for Tcl 8.2 too.
> 
> Please talk to Jan Nijtmans for a binary distributions of Trf and
> TrfCrypt on Windows.

Here is the requested binary distribution of Trf 1.8 and Trfcrypt 1.2.
- Both are compiled with gcc-2.95, using crtdll.dll as C-runtime,
  using Stubs and Threads. As a result, both should run unmodified
  with Tcl/Tk 8.1.x and 8.2.x, on Windows 95/98/NT/2000.
- Because Trf 1.8 doesn't export a Stub table, I linked Trfcrypt
  directly with trf18.dll. As a result, this Trfcrypt binary only
  runs with Trf 1.8, not with any other Trf version!!!!!

I discovered a few more (potential) problems, therefore I made
the following additional modifications. See also "diff.txt".

- If Tcl is compiled with VC++, it uses the errno variable of
  msvcrt.dll, which is different from the one from crtdll.dll.
  Solution: Use the function Tcl_GetErrno() in stead of the
  errno variable (This should be done in Trfcrypt as well).
- Trf contains a few calls to printf(), which is not allowed
  in Windows applications. Although it compiles fine, it is
  safer to remove it.
- Modified version numbers refering to 8.2 in stead of 8.1
- added qpcode.o to Makefile.gnu

Regards,
-- 
Jan Nijtmans, CMG Arnhem B.V.
email: Jan.Nijtmans@wxs.nl (private)
       Jan.Nijtmans@cmg.nl (work)
url:   http://home.wxs.nl/~nijtmans/
--------------E0C551AFC7F82EA29789880B
Content-Type: application/x-unknown-content-type-WinZip;
 name="trf.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="trf.zip"

[encoded data, 88841 characters]
B0g03jdQSwUGAAAAAAcABwAZAgAAov4AAAAA
--------------E0C551AFC7F82EA29789880B--
