I'm using Windows XP and the SWI-Prolog Windows binary. I've linked /usr/bin/pl (in Cygwin) to the Windows Prolog.
The test of the Prolog settings (PLTHREADS, etc.) shows, that the right binary is found.
I will try to use MinGW and to change the name of the library.