popup consoles on Windows 7

Andy Koppe andy.koppe@gmail.com
Tue Apr 21 16:04:00 GMT 2009


2009/4/16 Corinna Vinschen:
>> 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! Is there a way to monitor developments on this issue?

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/



More information about the Cygwin mailing list