[SOLVED] CoWaitForMultipleObjects in ppc1.exe lazarus / 67-Windows ---------------------------------------------------------------------- Red_prig · 2023-06-06 17:46 I tried to download the new trunk version of fpc via fpcupdeluxe and when I run ppc1.exe I get an error that symbol CoWaitForMultipleObjects is unknown, i use Win7 x64 system, compiler no longer supports win7 or what? ---------------------------------------------------------------------- Awkward · 2023-06-06 18:23 i tried to report about it already. GIT repo have issues too https://gitlab.com/freepascal.org/fpc/source/-/issues/40297 this is about this commit https://gitlab.com/freepascal.org/fpc/source /-/commit/452ec93f0696cf7dddbf2f57f328bb884fc75e9b ---------------------------------------------------------------------- runewalsh · 2023-06-06 18:53 I’m a little guilty of insisting that an open array should be used, maybe without that the patch would already be accepted. But I still consider it a good idea, as the open array-based interface is fully compatible with the Delphi interface based on a dynamic array, that’s the reason why open arrays exist after all. (Or the devs could change const HandleObjs: array of THandleObject back to const HandleObjs: THandleObjectArray if they really want to.) ---------------------------------------------------------------------- Awkward · 2023-06-06 19:47 Quote from: runewalsh on June 06, 2023, 08:53:02 pmI’m a little guilty of insisting that an open array should be used, maybe without that the patch would already be accepted. But I still consider it a good idea, as the open array-based interface is fully compatible with the Delphi interface based on a dynamic array, that’s the reason why open arrays exist after all. (Or the devs could change const HandleObjs: array of THandleObject back to const HandleObjs: THandleObjectArray if they really want to.) this theme problem is not about open arrays but what rtl\win\systhrd.inc file got patch with Win7 incompatible code (20 may 2023 date) ---------------------------------------------------------------------- marcov · 2023-06-06 19:59 No, only using them makes them incompatible. ---------------------------------------------------------------------- runewalsh · 2023-06-06 20:30 marcov, even empty application is incompatible because it uses “basic events”, and if you use THandleObject.WaitForMultiple, things are even worse as it is completely broken. ---------------------------------------------------------------------- Red_prig · 2023-06-07 05:53 Yes, maybe I didn’t say it clearly, but it caused an explosion for me that automatic dynamic linking completely blocks the launch of the compiler on win7. ---------------------------------------------------------------------- Awkward · 2023-06-07 06:30 agree. i don't want to use that functions but AT LEAST we have it in compiler which will not work. ---------------------------------------------------------------------- Awkward · 2023-06-07 06:31 and i posted link to Issues, patch to solve problem from post author was present there