Browse thread
Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows?
-
Brian Rogoff
-
Francois Pessaux
-
Brian Rogoff
- Francois Pessaux
- Francois Rouaix
-
Brian Rogoff
-
Francois Pessaux
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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