X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <416096c60904151350p62741e29if5c46598951d8dd9@mail.gmail.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> Date: Wed, 15 Apr 2009 22:15:19 +0100 Message-ID: <416096c60904151415k6998673dw2ddf867653ae88e8@mail.gmail.com> Subject: Re: popup consoles on Windows 7 From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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. Andy -- 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/