From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,da6ce28cbaf8476a X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: ada and gtkada: dos window Date: 2000/10/15 Message-ID: #1/1 X-Deja-AN: 681631956 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Abuse-Info: Please forward ALL headers when reporting abuse. X-Complaints-To: abuse@telocity.net X-Trace: M8MgTm9BdXRoVXNlciBURUxPQ0lUWS1SRUFERVJTIMExNi4yMjcuNDcuNDkgIFN1biwgMTUgT2N0!IDIwMDCwMDLJMjY6MDIgUERU MIME-Version: 1.0 NNTP-Posting-Date: Sun, 15 Oct 2000 02:26:02 PDT Newsgroups: comp.lang.ada Date: 2000-10-15T00:00:00+00:00 List-Id: he window appears because you didn't tell the linker that your program is a Windows program. To do so, requires passing the option -mwindows to the linker. One good way to do this is to put in your main program source code the following pragma: pragma Linker_Options("-mwindows"); Jesse Farmer wrote in message news:suifvogbtc8b09@corp.supernews.com... > Hi > > I just compiled some examples of gtkada in pcgrasp w/ gnat under win98. The > work just fine, but I am wondering about this Dos window that pops up behind > the application. Is there any way to compile an Ada program into a true Win32 > executable? So this DOS window won't appear? > > Why is this dos window appearing? because the example compiled into a simple > executable? > > Thanks > > -Jesse >