Not able to call pl_next_solution (Delphi, 64 Bit)

Possibly also relevant is this old discussion https://swi-prolog.discourse.group/t/delphi-library-for-swi-prolog/