From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA12447 for caml-redistribution; Tue, 10 Nov 1998 13:31:22 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA01348 for ; Tue, 10 Nov 1998 09:52:57 +0100 (MET) Received: from mouton.inria.fr (mouton.inria.fr [128.93.11.37]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id JAA05882; Tue, 10 Nov 1998 09:52:53 +0100 (MET) Received: from mouton.inria.fr (pessaux@localhost.inria.fr [127.0.0.1]) by mouton.inria.fr (8.8.7/8.6.6) with ESMTP id JAA10395; Tue, 10 Nov 1998 09:54:19 +0100 Message-Id: <199811100854.JAA10395@mouton.inria.fr> X-Mailer: exmh version 2.0.2 To: bpr@best.com, caml-list@inria.fr Subject: Re: Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows? In-Reply-To: Your message of "Mon, 09 Nov 1998 11:11:27 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Nov 1998 09:54:19 +0100 From: Francois Pessaux Sender: weis Hi, > It appears that the Tcl C interface has changed a bit in going from 7.6 to > 8.0, and while the Unix port was not affected the Windows port was. Unix port *was* also affected. We had to write a patch to compile the whole stuff. > which affect the file ocamltk41\support\cltkFile.c, which uses the > obsolete Tcl_GetFile function and Tcl_File type. If TCL_MAJOR_VERSION is defined >= 8 then the compiled source will use the new Tcl_GetFile. cltkEval.c, cltkImg.c, cltkFile.c where patched to use the new API (you can find locations by "grep-ing" TCL_MAJOR_VERSION or 8). That's strange, because all you said seems to be patched in the last release. Make sure that when compiling, TCL_MAJOR_VERSION is defined and >= 8. If the problems are still present, then we should have a look with Francois Rouaix. --Francois