Version française
Home     About     Download     Resources     Contact us    
Browse thread
Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Francois Rouaix <frouaix@l...>
Subject: Re: Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows?
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