"Jano" <402450@cepsz.unizar.es> a �crit dans le message de news: MPG.18bb6ea1d4e7753f98969c@News.CIS.DFN.DE... > I want total isolation between core and GUI. Really, that it's going to > be a Gnutella servant is not relevant except for background. For total > isolation I mean that the core could run without a GUI. I.e., the GUI > code is not necessary at compile time. Indeed, a Gnutella servant > doesn't need the GUI except for feedback and getting new searches from > the user. That could be accomplished with a single input box. > A solution that I have used quite often in that kind of occasion: 1) make your application command line oriented only (read from standard input, output to standard output) 2) run it from Tcl and let Tcl send the commands. 3) (optional) integrate the Tcl part into the program with Tash, if you don't want Tcl to be apparent. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr