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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2e7f1638b206223 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: How can I loose the cmd window from my GtkAda app? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Mon, 11 May 2009 18:40:50 +0200 Message-ID: NNTP-Posting-Date: 11 May 2009 18:40:53 CEST NNTP-Posting-Host: 978aec5e.newsspool2.arcor-online.net X-Trace: DXC=ZlkUY9d]@NJWDmlTRbh@=IA9EHlD;3YcB4Fo<]lROoRA^YC2XCjHcbIdCc[TJoBeNLDNcfSJ;bb[EIRnRBaCd On Mon, 11 May 2009 17:30:12 +0200, Per Sandberg wrote: > Thar are two more ways: > * Add the following line to the source code of the main program: > "pragma Linker_Options("-mwindows"); Hmm, I don't like this, because it makes code platform-dependent. > * If using gnat project files, Updated package linker add one of the > folowing depending in taste: > package Linker is Yes, however I would prefer to have it enforced by gtkada.gpr, rather than contaminating the application's gpr which with-es gtkada.gpr. Unfortunately I know no way to do this in a library project. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de