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 IAA21724 for caml-redistribution; Thu, 12 Nov 1998 08:58:01 +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 BAA31342 for ; Thu, 12 Nov 1998 01:06:50 +0100 (MET) Received: from fiji01.liquidmarket.com ([208.244.147.130]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id BAA01047 for ; Thu, 12 Nov 1998 01:06:48 +0100 (MET) Received: from maui02.liquidmarket.com (maui02 [192.168.1.65]) by fiji01.liquidmarket.com (8.8.7/8.8.7) with ESMTP id QAA19057; Wed, 11 Nov 1998 16:06:44 -0800 Message-Id: <199811120006.QAA19057@fiji01.liquidmarket.com> X-Mailer: exmh version 2.0.2 From: Francois Rouaix To: Brian Rogoff cc: Francois Pessaux , 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." Reply-To: frouaix@liquidmarket.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Nov 1998 16:06:43 -0800 Sender: weis Brian, You're right, the quick fixes I made for CamlTk to run with Tcl/Tk 8.0 will not work on Windows NT. The proper fix would be to use Tcl_CreateChannelHandler (Tcl_MakeFileChannel (some_descriptor)) where some_descriptor is the file descriptor under Unix, and a HANDLE under Windows. Unfortunately, I didn't have time to look into the Windows version of our libunix library to see what notion of file descriptor/handle we are using there, and if it fits our purpose. You might want to check that with Xavier, who is the main perpetrator of this library. --f