Stephane Perret a �crit dans le message : 39070905.D2B3EA02@maths.unine.ch... > Hi everybody, > > Is there someone who knows how to hide or disable the terminal window > you get by running the program you just have made with Gnat under > Windows 98 ? > > > The terminal window is very useful when you create programs to see the > exception which are raised and to do a first debugging, but when you us > a GUI, like JEWL (http://www.it.bton.ac.uk/staff/je/), it is frustrating > to see this window, now completely unuseful. > > I am sure that there is a way to supress this window (or to hide it), > but I couldn't find it in the doc which comes with Gnat 3.12p (perhaps, > I missed it)... > Maybe this should be in the FAQ... From a message from Martin Carlisle that I carefully saved some times ago: You need to specify the -mwindows linker option. You can do this either on the command line, or (if using AdaGIDE) via Tools/GNAT Options in Current Directory, or (my preferred method) add the following to your main program: pragma Linker_Options("-mwindows"); -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog