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