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: "Jeff Creem" Subject: Re: ada and gtkada: dos window Date: 2000/10/15 Message-ID: #1/1 X-Deja-AN: 681672855 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse@supernews.com Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal Newsgroups: comp.lang.ada Date: 2000-10-15T00:00:00+00:00 List-Id: "David C. Hoos, Sr." wrote in message news:KKeG5.7236$2d3.1789665@newsrump.sjc.telocity.net... > 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"); > This advice is correct but I prefer to put things like this in a build script/makefile since when this program is moved to Linux or some other non Win32 environment the -mwindows will need to be removed.