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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.70.15.33 with SMTP id u1mr6486291pdc.4.1432856987591; Thu, 28 May 2015 16:49:47 -0700 (PDT) X-Received: by 10.140.33.202 with SMTP id j68mr51831qgj.41.1432856987330; Thu, 28 May 2015 16:49:47 -0700 (PDT) Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!m20no919247iga.0!news-out.google.com!4ni93qgh.1!nntp.google.com!z60no4377309qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 28 May 2015 16:49:45 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.65.29; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.65.29 References: <00836c9e-9ed0-4638-9d0b-0b3cd4e07c65@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <37731869-bfb2-47b1-b0cf-7e4e806019c1@googlegroups.com> Subject: Re: Problems with the "mwindows" switch From: sbelmont700@gmail.com Injection-Date: Thu, 28 May 2015 23:49:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:193353 Date: 2015-05-28T16:49:45-07:00 List-Id: On Thursday, May 28, 2015 at 6:19:09 PM UTC-4, Randy Brukardt wrote: >=20 > Of course there is, you just need some support from the runtime. > The ability of which I was referring was the ability to have a program that= can dynamically select whether to use the inherited console (i.e. if you r= un the executable from a command prompt, to output the text to the existing= console) or to open a new window. A GUI app that allocates its own consol= e but is ran from the command prompt will open a new window to print the te= xt, which is normally not the desired behavior. Making a CUI app will work= right when spawned from the command line, but will always open its own con= sole when spawned by double clicking the icon, even if there is no output, = which is also normally not the desired behavior.