comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: How to terminate the terminal on Gnat under Windows 98 ?
Date: 2000/04/26
Date: 2000-04-26T17:04:57+00:00	[thread overview]
Message-ID: <8e77jp$c9r$1@wanadoo.fr> (raw)
In-Reply-To: 39070905.D2B3EA02@maths.unine.ch

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]

Stephane Perret <Stephane.Perret@maths.unine.ch> 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







  parent reply	other threads:[~2000-04-26  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-26  0:00 How to terminate the terminal on Gnat under Windows 98 ? Stephane Perret
2000-04-22  0:00 ` John English
2000-04-23  0:00   ` John English
2000-04-26  0:00 ` Jean-Pierre Rosen [this message]
2000-04-28  0:00 ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox