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 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/