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

