delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/16/05:26:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 16 Apr 2009 11:25:28 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: popup consoles on Windows 7
Message-ID: <20090416092528.GB8722@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <416096c60904051420h66325080j3b059f3fbb857bde AT mail DOT gmail DOT com> <416096c60904150814y45976747qa7878d1ed256fc9 AT mail DOT gmail DOT com> <20090415153549 DOT GA8722 AT calimero DOT vinschen DOT de> <416096c60904151350p62741e29if5c46598951d8dd9 AT mail DOT gmail DOT com> <416096c60904151415k6998673dw2ddf867653ae88e8 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <416096c60904151415k6998673dw2ddf867653ae88e8@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 15 22:15, Andy Koppe wrote:
> Corinna Vinschen:
> > If the above code also allocs a console window when run from a non-cygwin
> > (mingw) application, then this should be reported as a bug to Microsoft.
> 
> I can confirm this one now. This little test opens a console window on
> 7, but not Vista, when compiled with 'gcc -mno-cygwin -mwindows'.
> 
> int
> main(void)
> {
>   HWINSTA wst = CreateWindowStation (0, 0, WINSTA_ALL_ACCESS, 0);
>   SetProcessWindowStation(wst);
>   AllocConsole();
>   Sleep(3000);
>   return 0;
> }
> 
> There seems to have been quite a bit of rearchitecting in this area.
> On 7 there's a process called 'conhost.exe' for every console, which I
> don't think I've seen on previous Windows versions.

Confirmed.  I'm going to send a bug report to MSFT.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019