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, MSGID_RANDY 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: dennison@telepath.com Subject: Re: Annoying text window Date: 1999/06/07 Message-ID: <7jgq4e$r1o$1@nnrp1.deja.com>#1/1 X-Deja-AN: 486680773 References: <7j0trd$7lq$1@nnrp1.deja.com> <7j610c$llg$1@cnn.Princeton.EDU> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Mon Jun 07 15:57:09 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-06-07T00:00:00+00:00 List-Id: In article <7j610c$llg$1@cnn.Princeton.EDU>, mcc@entropy.cs.princeton.edu (Martin C. Carlisle) wrote: > 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"); Of couse that means you have to have libmswindows.a in your libarary path. And of couse its a copyright violation to use that library if you don't have Visual C++ installed. :-( -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.