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 NAA08363 for caml-redistribution; Tue, 10 Nov 1998 13:30:40 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA28729 for ; Mon, 9 Nov 1998 20:11:32 +0100 (MET) Received: from shell5.ba.best.com (shell5.ba.best.com [206.184.139.136]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id UAA08861 for ; Mon, 9 Nov 1998 20:11:31 +0100 (MET) Received: from localhost (bpr@localhost) by shell5.ba.best.com (8.9.0/8.9.0/best.sh) with ESMTP id LAA08493; Mon, 9 Nov 1998 11:11:28 -0800 (PST) Date: Mon, 9 Nov 1998 11:11:27 -0800 (PST) From: Brian Rogoff To: Francois Pessaux cc: caml-list@inria.fr Subject: Re: Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows? In-Reply-To: <199811091354.OAA07519@mouton.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis Hi, On Mon, 9 Nov 1998, Francois Pessaux wrote: > Hello, > > > Has anyone built the the tk library with the latest stable > > Tcl/Tk release (8.0.3) on Windows NT? > > On Windows NT, I don't know. But we updated the ocamktk41-R200 in order > support Tcl/Tk8.0. I currently use it under Linux without any problem. > Did you try this version ? No, and unfortunately it isn't likely that I can switch to Linux. 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. The relevant sections from the Tcl 8.0.3 distribution are: 8. Tcl_CreateFileHandler and Tcl_DeleteFileHandler now take Unix fd's and are only supported on the Unix platform. Please use the Tcl_CreateChannelHandler interface instead. 9. The C APIs for creating channel drivers have changed as part of the new notifier implementation. The Tcl_File interfaces have been removed. Tcl_GetChannelFile has been replaced with Tcl_GetChannelHandle. Tcl_MakeFileChannel now takes a platform- specific file handle. Tcl_DriverGetOptionProc procedures now take an additional interp argument. which affect the file ocamltk41\support\cltkFile.c, which uses the obsolete Tcl_GetFile function and Tcl_File type. My perusal of the rest of the sources didn't turn up any other porting issues, but I haven't tried to rewrite and compile yet. -- Brian