Did you know? SWI-Prolog supports DDE on WindowsSearch Documentation:
SWI-Prolog owl logoPredicate discontiguous/1