This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: popup consoles on Windows 7


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]