comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Subject: Re: How do I get rid of DOS window for Ada95 windoze programs...
Date: Wed, 11 Dec 2002 08:13:07 -0500
Date: 2002-12-11T13:13:38+00:00	[thread overview]
Message-ID: <at7dm2$mg0$1@slb3.atl.mindspring.net> (raw)
In-Reply-To: bRvJ9.118830$%k2.30570211@twister.socal.rr.com

Try putting this in the declarative region of your main program:

pragma Linker_Options ("-mwindows") ;

You can do something similar from the command line. There should be a
section of the Gnat User's Guide (or other documentation that came with it -
don't have it in front of me to check) that talks specifically about
building apps and dlls for Windows. Also, you can find lots of other
interesting pragmas along the way, so it will pay you to spend a little time
traipsing through it.

MDC

======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================

Eric <wzrd@mindless.com> wrote in message
news:bRvJ9.118830$%k2.30570211@twister.socal.rr.com...
> I'm not exactly a strong windows programmer (just starting,
> actually) and was wondering how I get rid of the d!@# dosshell
> window when executing a Windows targeted program...
>
> Every time I execute a windows program that I've compiled the
> friggin' DOS window comes up and stays.  If I close it, the entire
> program terminates.
>
> I'm using the included example programs for WinNT programming that
> came with the Windows support load for GNAT 3.15p NT executable.
>
> For GP:
>    WinXP 2002 SP1
>    GNAT 3.15p w/Win support
>    AdaGIDE 7.00.1
>
> ~Eric





      parent reply	other threads:[~2002-12-11 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bRvJ9.118830$%k2.30570211@twister.socal.rr.com>
2002-12-11  1:15 ` How do I get rid of DOS window for Ada95 windoze programs Jeffrey Carter
2002-12-11  3:26   ` SteveD
2002-12-11 13:13 ` Marin David Condic [this message]
replies disabled

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