Hi Alistair,
On Apr 23, 2018, at 2:46 AM, Alistair Grant akgrant0710@gmail.com wrote:
Hi Everyone,
I have some test code that correctly identifies whether stdin on Windows is a console or redirected, in both windows command terminals (cmd.exe) and cygwin mintty (the current code only works for cmd.exe, not for cygwin terminals).
However it relies on the Windows Vista API, i.e. _WIN32_WINNT >= 0x0600, and at the moment we set the minimum supported version to Windows XP (0x0501).
Since Windows XP is no longer supported, I can't see any problem with raising the minimum version to Windows Vista (which also isn't supported, but should give us maximum compatibility), but wanted to check first.
Are there any objections to raising the minimum API level to Windows Vista?
Not from me. But it would be nice if the resulting executable still ran in Windows NT. Is that still possible? What does the code look like?
Thanks, Alistair