[Issue 16658] Win32API: default IE ver. set to 4.0 is too old

2020-02-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16658

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Dlang Bot  ---
dlang/druntime pull request #2929 "Fix Issue 16658: Default IE version set to
6.0" was merged into master:

- 14df4d4bc0c40b5ebe2aac33798840a98596575a by Asakusa Yakumo:
  Fix Issue 16658: Default IE version set to 6.0

  IE 4 it too old. As it only supports up to WinNT 4.0, it's not available on
WinXP or even Win2k. This leads to a mismatch with the default `_WIN32_WINNT =
0x500` (WinXP) value. Make the default IE version set to 6.0 could make more
APIs available at default.

  Also, DMD now supports only `Windows 7 or later, 32 or 64 bit` and Windows 7
has reached End Of Life on 14 January 2020, it could reasonably set default
value to: `_WIN32_WINNT = 0x601` and `_WIN32_IE = 0x800`. But this topic should
be discussed in another PR.

https://github.com/dlang/druntime/pull/2929

--


[Issue 16658] Win32API: default IE ver. set to 4.0 is too old

2020-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16658

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Dlang Bot  ---
@LimiQS created dlang/druntime pull request #2929 "Fix Issue 16658: Default IE
version set to 6.0" fixing this issue:

- Fix Issue 16658: Default IE version set to 6.0

  IE 4 it too old. As it only supports up to WinNT 4.0, it's not available on
WinXP or even Win2k. This leads to a mismatch with the default `_WIN32_WINNT =
0x500` (WinXP) value. Make the default IE version set to 6.0 could make more
APIs available at default.

  Also, DMD now supports only `Windows 7 or later, 32 or 64 bit` and Windows 7
has reached End Of Life on 14 January 2020, it could reasonably set default
value to: `_WIN32_WINNT = 0x601` and `_WIN32_IE = 0x800`. But this topic should
be discussed in another PR.

https://github.com/dlang/druntime/pull/2929

--


[Issue 16658] Win32API: default IE ver. set to 4.0 is too old

2016-11-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16658

--- Comment #1 from j...@red.email.ne.jp ---
Forgot to mention:

The value cooperating with this is defined that
_WIN32_WINNT = 0x501 ( means WinXP )



So I suppose that _WIN32_IE should be changed as follows.

version (IE10) {
} else version (IE9) {
} else version (IE8) {
   ... snipped ...
} else static if (_WIN32_WINNT >= 0x501) { // ADD
enum uint _WIN32_IE = 0x600;   // ADD
} else static if (_WIN32_WINNT >= 0x410) {
enum uint _WIN32_IE = 0x400;   // this is used now
} else {

--