> I tested the following
> HANDLE hConRW = CreateFileA("CONIN$"
> , GENERIC_READ | GENERIC_WRITE,
> FILE_SHARE_READ, NULL, OPEN_EXISTING,
> FILE_ATTRIBUTE_NORMAL, 0);
> if (hConRW == INVALID_H
Hi Eric, Thanks for taking the time to reply
The issue is that WriteConsoleInputW requires GENERIC_WRITE access, but the
>> CON device (\\.\CON) was opened as GENERIC_READ (and in fact fails if I try
>> to open it with GENERIC_WRITE).
>
>
You said...
> - you're using a bare console, ie didn't run
Le 09/11/2012 22:49, Ann and Jason Edmeades a écrit :
Hello,
I've been looking at a patch which sorts out NUL and CON handling in a
part of the command shell, and have stumbled upon a problem I am not
sure how to fix because I really dont understand the underlying
console handling, and would
Hello,
I've been looking at a patch which sorts out NUL and CON handling in a part
of the command shell, and have stumbled upon a problem I am not sure how to
fix because I really dont understand the underlying console handling, and
would appreciate someone pointing me in a direction.
For simplic