Re: [Mingw-w64-public] [PATCH 2/2] crt: add libdloadhelper.a

2022-04-07 Thread Martin Storsjö
On Thu, 7 Apr 2022, Jeremy Drake via Mingw-w64-public wrote: An alternative implementation of libdelayimp.a, which is a thin wrapper around OS APIs present in Windows 8 and newer, and which is required to be used in store apps that wish to delay load, in lieu of libdelayimp.a. Signed-off-by: Je

Re: [Mingw-w64-public] [PATCH 1/2] headers: add delayloadhandler.h

2022-04-07 Thread Martin Storsjö
On Thu, 7 Apr 2022, Jeremy Drake via Mingw-w64-public wrote: Signed-off-by: Jeremy Drake --- mingw-w64-headers/include/delayloadhandler.h | 46 1 file changed, 46 insertions(+) create mode 100644 mingw-w64-headers/include/delayloadhandler.h diff --git a/mingw-w64-headers/i

[Mingw-w64-public] [PATCH 1/2] headers: add delayloadhandler.h

2022-04-07 Thread Jeremy Drake via Mingw-w64-public
Signed-off-by: Jeremy Drake --- mingw-w64-headers/include/delayloadhandler.h | 46 1 file changed, 46 insertions(+) create mode 100644 mingw-w64-headers/include/delayloadhandler.h diff --git a/mingw-w64-headers/include/delayloadhandler.h b/mingw-w64-headers/include/delayl

[Mingw-w64-public] [PATCH 2/2] crt: add libdloadhelper.a

2022-04-07 Thread Jeremy Drake via Mingw-w64-public
An alternative implementation of libdelayimp.a, which is a thin wrapper around OS APIs present in Windows 8 and newer, and which is required to be used in store apps that wish to delay load, in lieu of libdelayimp.a. Signed-off-by: Jeremy Drake --- mingw-w64-crt/Makefile.am | 17 +++

[Mingw-w64-public] [PATCH 0/2] Add Windows 8+ delay load helper

2022-04-07 Thread Jeremy Drake via Mingw-w64-public
Windows 8 introduced a new implementation of the delay loading mechanism, this time implemented almost entirely in the OS. The 'glue' to hook this new implementation up to the linker is provided in the Windows SDK as dloadhelper.lib, and a somewhat incomplete header called delayloadhelper.h is als