10-25-2022 06:56 AM
In case anyone has this problem in the future: ensure that the instructions used by your dll are available on the target CPU. I tried to call a dll that uses AVX on a Pentium CPU - which it doesn't have. Almost none of Atom, Celeron and Pentium families support AVX (Intel lists five models from 2014 and before).
10-25-2022 08:12 AM
I think the lesson to be learned here is, "If you try to run modern code on a CPU that was made last century, expect hiccups." 😄
10-25-2022 09:53 AM
I'd expect the hiccups to start much earlier if it were an original Pentium 😄
The CPU in question is from 2016, so not quite last century 😉
Intel used the Pentium brand for some chips with Atom architecture but retired it this year.