Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Steve Lhomme
On 2020-04-22 8:41, Steve Lhomme wrote: On 2020-04-21 19:40, Martin Storsjö wrote: On Tue, 21 Apr 2020, Jacek Caban wrote: Hi Steve, On 21.04.2020 16:40, Steve Lhomme wrote: windowsapp is meant to replace kernel32, user32, shell32, etc. These older libraries should be used with it to avoid l

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Steve Lhomme
On 2020-04-21 19:40, Martin Storsjö wrote: On Tue, 21 Apr 2020, Jacek Caban wrote: Hi Steve, On 21.04.2020 16:40, Steve Lhomme wrote: windowsapp is meant to replace kernel32, user32, shell32, etc. These older libraries should be used with it to avoid linking to entries that should not be us

Re: [Mingw-w64-public] [PATCH] headers: add vss.idl

2020-04-21 Thread Biswapriyo Nath
Updated. From 905e1ee42d10c24664b08d849cca12347bd701c1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 22 Apr 2020 09:07:02 +0530 Subject: [PATCH] headers: add vss.idl Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/Makefile.am | 1 + mingw-w64-headers/include/vss.idl | 309

Re: [Mingw-w64-public] [PATCH] headers: add vss.idl

2020-04-21 Thread Liu Hao
在 2020/4/21 22:14, Biswapriyo Nath 写道: > I have tried this command without any error. > > cd mingw-w64/mingw-w64-headers/include > widl -DBOOL=WINBOOL -I./ -I../crt -h -o vss.h vss.idl > > What command did you use? > I used `widl -DBOOL=WINBOOL vss.idl` without `-h`. Also I had headers installe

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Jean-Baptiste Kempf
On Tue, Apr 21, 2020, at 20:13, Martin Storsjö wrote: > On Tue, 21 Apr 2020, Jacek Caban wrote: > > > On 21.04.2020 19:40, Martin Storsjö wrote: > >> > >> I don't think particularly that is a good idea here. windowsapp is a > >> replacement for kernel32 and a few other dlls, but the CRT in this

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Martin Storsjö
On Tue, 21 Apr 2020, Jacek Caban wrote: On 21.04.2020 19:40, Martin Storsjö wrote: I don't think particularly that is a good idea here. windowsapp is a replacement for kernel32 and a few other dlls, but the CRT in this case is libucrt.a (which links against the api-ms-win-crt-*) which also c

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Jacek Caban
On 21.04.2020 19:40, Martin Storsjö wrote: I don't think particularly that is a good idea here. windowsapp is a replacement for kernel32 and a few other dlls, but the CRT in this case is libucrt.a (which links against the api-ms-win-crt-*) which also can be used for normal desktop things.

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Martin Storsjö
On Tue, 21 Apr 2020, Jacek Caban wrote: Hi Steve, On 21.04.2020 16:40, Steve Lhomme wrote: windowsapp is meant to replace kernel32, user32, shell32, etc. These older libraries should be used with it to avoid linking to entries that should not be used in that context (apps working on all win1

Re: [Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Jacek Caban
Hi Steve, On 21.04.2020 16:40, Steve Lhomme wrote: windowsapp is meant to replace kernel32, user32, shell32, etc. These older libraries should be used with it to avoid linking to entries that should not be used in that context (apps working on all win10 devices) https://docs.microsoft.com/en-us/

[Mingw-w64-public] [PATCH] crt: add a dummy RtlAddFunctionTable when linking with windowsapp

2020-04-21 Thread Steve Lhomme
windowsapp is meant to replace kernel32, user32, shell32, etc. These older libraries should be used with it to avoid linking to entries that should not be used in that context (apps working on all win10 devices) https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis When linking with just w

Re: [Mingw-w64-public] [PATCH] headers: add vss.idl

2020-04-21 Thread Biswapriyo Nath
I have tried this command without any error. cd mingw-w64/mingw-w64-headers/include widl -DBOOL=WINBOOL -I./ -I../crt -h -o vss.h vss.idl What command did you use? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.s

Re: [Mingw-w64-public] [PATCH] headers: add vss.idl

2020-04-21 Thread Liu Hao
在 2020/4/21 2:30, Biswapriyo Nath 写道: > ... > > > WIDL fails to generate the corresponding header: ``` error: union field Snap with neither case nor default attribute ``` -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH 2/2] headers: allow some firmware APIs' in winstore builds

2020-04-21 Thread Liu Hao
在 2020/4/21 13:40, Steve Lhomme 写道: > See > https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-firmware-l1-1-0dll > --- > mingw-w64-headers/include/winbase.h | 22 ++ > 1 file changed, 14 insertions(+), 8 deletions(-) > > Thanks. I push