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,aef459f7f549526f X-Google-Attributes: gid103376,public From: mcc@entropy.cs.princeton.edu (Martin C. Carlisle) Subject: Re: Annoying text window Date: 1999/06/03 Message-ID: <7j610c$llg$1@cnn.Princeton.EDU>#1/1 X-Deja-AN: 485824849 References: <7j0trd$7lq$1@nnrp1.deja.com> Organization: US Air Force Academy, Dept of Computer Science Newsgroups: comp.lang.ada Date: 1999-06-03T00:00:00+00:00 List-Id: In article <7j0trd$7lq$1@nnrp1.deja.com>, wrote: >I've recently switched from Gnat v. 3.04a to Gnat v. 3.11p as the >compiler for developing windows apps with ada. I've found that with >Gnat v. 3.11p, even when just double-clicking the executable form >windows, I get a "DOS Window" that comes up an accompanies the windows >application that is running. Is there any way to supress this text >window? Thanks... 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"); --Martin -- Martin C. Carlisle, Asst Prof of Computer Science, US Air Force Academy carlislem@acm.org, http://www.usafa.af.mil/dfcs/bios/carlisle.html DISCLAIMER: This content in no way reflects the opinions, standards or policy of the US Air Force Academy or the United States Government.