From: Corinna Vinschen on 28 Nov 2009 13:11 Pavel A. wrote: > Corinna, > > What Windows version are you testing on? Console windows have changed on NT > 6 vs. NT 5. My testcase shows the same results on XP as well as on W7. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
From: Corinna Vinschen on 28 Nov 2009 13:21 Alexander Grigoriev wrote: > I suppose DuplicateHandle uses a special code path to duplicate > in-process-only handles, such as console. The remarks says "Console handles > can be duplicated for use only in the same process". It won't bother to > guess if a handle is for the current process; it needs GetCurrentProcess(). Perhaps, yes. It's an unfortunate asymmetry, though. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
First
|
Prev
|
Pages: 1 2 Prev: Processus , detect if exists Next: How to communicate with user, from printer driver |