# Can swipl.exe load library(pce)?

**URL:** <https://swi-prolog.discourse.group/t/can-swipl-exe-load-library-pce/5376>\
**Category:** Tools\
**Tags:** how-to\
**Created:** [May 5, 2022, 4:51pm UTC](https://swi-prolog.discourse.group/t/can-swipl-exe-load-library-pce/5376 "2022-05-05T16:51:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![chansey97](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@chansey97](https://swi-prolog.discourse.group/u/chansey97)\
**Post date:** [May 6, 2022, 6:38am UTC](https://swi-prolog.discourse.group/t/can-swipl-exe-load-library-pce/5376/4 "2022-05-06T06:38:24Z")

</div>

I found a workaround in the forum by @he_deceives : [XPCE windows freeze with swipl but not swipl-win](https://swi-prolog.discourse.group/t/xpce-windows-freeze-with-swipl-but-not-swipl-win/1016)

> [@XPCE windows freeze with swipl but not swipl-win](https://swi-prolog.discourse.group/t/xpce-windows-freeze-with-swipl-but-not-swipl-win/1016/1):
>
> 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.

I copied and renamed it to the same installation directory, rather than user directory. Of course, this workaround will freeze the window when actually run graphics pp, but at least can it load successfully.

---

_[View the full topic](https://swi-prolog.discourse.group/t/can-swipl-exe-load-library-pce/5376)._
