Re: [Tinycc-devel] Outdated .def files

2021-09-18 Thread Christian Jullien
GetVersionEx is also odd as it is stuck to 8 the version it returns for Windows 10 and 11 by default. To make it return the right version you need to call mt tool with a manifest file like below. OpenLisp by Eligis Bu

Re: [Tinycc-devel] Outdated .def files

2021-09-18 Thread grischka
Christian Jullien wrote: Hi Grischka, I fact I processed differently. I was very disappointed to see that my code compiled by tcc reported "Windows 10" on "Windows 11" because kernel32.def lacks the few API I recently added for this purpose. As far as I can see, "Windows 11" identifies itself

Re: [Tinycc-devel] Outdated .def files

2021-09-18 Thread NightStrike
On Sat, Sep 18, 2021 at 8:37 AM Christian Jullien wrote: > > Hi Grischka, > > I fact I processed differently. I was very disappointed to see that my code > compiled by tcc reported "Windows 10" on "Windows 11" because kernel32.def > lacks the few API I recently added for this purpose. > Right afte

Re: [Tinycc-devel] Outdated .def files

2021-09-18 Thread Christian Jullien
Hi Grischka, I fact I processed differently. I was very disappointed to see that my code compiled by tcc reported "Windows 10" on "Windows 11" because kernel32.def lacks the few API I recently added for this purpose. Right after this push, I generated a kernel32.def from my Windows 10 machine to s

Re: [Tinycc-devel] Outdated .def files

2021-09-18 Thread grischka
Christian Jullien wrote: Hi, If I regenerate a kernel32.def out of kernel32.dll on my Windows 10 21H1 machine it is 3x times bigger that the one that currently comes with tcc. (see enclosed) It means many kernel32 API are not directly available for tcc. It is probably the same with other .def f