Op 8/27/2022 om 3:06 PM schreef Anthony Walter via fpc-pascal:
Ah, it seems the problem is even in {$mode delphi} you must use {$modeswitch typehelpers} to define a type helper for an interface.
I put a note on the checklist for the next major version about this to review this. (only review, not a guarantee that it will change. But at least it won't go through unnoticed then)
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal