Thread overview
[Issue 18659] All modern Windows API calls are disabled
[Issue 18659] All modern window API calls are disabled
Mar 24, 2018
Lewis
Mar 24, 2018
Lewis
Mar 24, 2018
Lewis
Mar 26, 2018
anonymous4
Dec 17, 2022
Iain Buclaw
March 24, 2018
https://issues.dlang.org/show_bug.cgi?id=18659

Lewis <musicaljelly@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |musicaljelly@gmail.com

--
March 24, 2018
https://issues.dlang.org/show_bug.cgi?id=18659

Lewis <musicaljelly@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|All modern window API calls |All modern Windows API
                   |are disabled                |calls are disabled

--
March 24, 2018
https://issues.dlang.org/show_bug.cgi?id=18659

--- Comment #1 from Lewis <musicaljelly@gmail.com> ---
After making a source change to work around this problem (by just manually setting _WIN32_WINNT to the correct value), I can now compile using CancelIoEx(), but it fails at the link step. This appears to be because D links against an older version of kernel32.lib. I updated it and ran it through coffimplib, and was able to successfully link and use CancelIoEx().

This means that even if the version statements in w32api.d are fixed, you'll need to link against the correct lib(s) to use newer functions. Does D support this at all right now? What's the right way a user should go about doing this that doesn't involve generating their own kernel32.lib?

--
March 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18659

--- Comment #2 from anonymous4 <dfj1esp02@sneakemail.com> ---
To set minimal supported OS version to windows 10 compile with -version Windows10 option, it's a usual conditional compilation. To link with latest libs build with -m32mscoff option, recent installer downloads fresh import libraries.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=18659

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 07
https://issues.dlang.org/show_bug.cgi?id=18659

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17165

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--