How to get pspell to work on SC/ WAMP

I urgently need a way to determine if a string is a valid dictionary word and I tried to use pspell. From googling, I’ve done the following:

​- uncommented pspell DLL in the modules section of php.ini and restarted the SC web server
​- installed aspell and copied aspell.dll into the …components/bin folder of SC

​All I’m then running is a simple test code from google too as follows:
$pspell_link = pspell_new(“en”);

if (!pspell_check($pspell_link, “testt”)) {
$suggestions = pspell_suggest($pspell_link, “testt”);

foreach ($suggestions as $suggestion) {
echo “Possible spelling: $suggestion<br />”;
}
}

But all I get is

Fatal error: Call to undefined function pspell_new() in ​…

​Has anyone used this successfully with SC on Windows?.