I’m using Windows 10.
I have a program using XPCE that works fine as long as I open up swipl-win and then launch the program from there. However, if I run swipl from the command line I run into problems. First, the program had problems with the use_module(library(pce)) load, but I fixed this by copying the swipl-win.rc file in the installation directory file to my user directory and renaming it to swipl.rc. Great, the XPCE program actually runs now.
However, although the window boots up when I run the program from swipl, it freezes and stops responding as soon as I click any part of the window (a button, or just the background). I am sure this is not a problem with my program, but I recreated the issue by running several of the demo XPCE programs that are installed with SWI-Prolog.
Is there a way around this, or is this a legitimate bug?
In the meantime, the main reason I want to run swipl instead of swipl-win is that I want to load my script from the command line with command line parameters, and this doesn’t seem possible with swipl-win.