English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 1998-11-12 (07:58)
From: Francois Rouaix <frouaix@l...>
Subject: Re: Anyone ported OCamlTk to Tcl/Tk 8.0 on Windows?
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
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.